Package org.apache.maven.settings
Class ActivationProperty
- java.lang.Object
-
- org.apache.maven.settings.ActivationProperty
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class ActivationProperty extends java.lang.Object implements java.io.Serializable, java.lang.CloneableThis is the property specification used to activate a profile. If the value field is empty, then the existence of the named property will activate the profile, otherwise it does a case-sensitive match against the property value as well.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivationProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivationPropertyclone()Method clone.java.lang.StringgetName()Get the name of the property to be used to activate a profile.java.lang.StringgetValue()Get the value of the property to be used to activate a profile.voidsetName(java.lang.String name)Set the name of the property to be used to activate a profile.voidsetValue(java.lang.String value)Set the value of the property to be used to activate a profile.
-
-
-
Method Detail
-
clone
public ActivationProperty clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- ActivationProperty
-
getName
public java.lang.String getName()
Get the name of the property to be used to activate a profile.- Returns:
- String
-
getValue
public java.lang.String getValue()
Get the value of the property to be used to activate a profile.- Returns:
- String
-
setName
public void setName(java.lang.String name)
Set the name of the property to be used to activate a profile.- Parameters:
name- a name object.
-
setValue
public void setValue(java.lang.String value)
Set the value of the property to be used to activate a profile.- Parameters:
value- a value object.
-
-