Package org.apache.maven.settings
Class ActivationProperty
- java.lang.Object
-
- org.apache.maven.settings.ActivationProperty
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ActivationProperty extends Object implements Serializable, Cloneable
This 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 ActivationProperty
clone()
Method clone.String
getName()
Get the name of the property to be used to activate a profile.String
getValue()
Get the value of the property to be used to activate a profile.void
setName(String name)
Set the name of the property to be used to activate a profile.void
setValue(String value)
Set the value of the property to be used to activate a profile.
-
-
-
Method Detail
-
clone
public ActivationProperty clone()
Method clone.
-
getName
public String getName()
Get the name of the property to be used to activate a profile.- Returns:
- String
-
getValue
public String getValue()
Get the value of the property to be used to activate a profile.- Returns:
- String
-
setName
public void setName(String name)
Set the name of the property to be used to activate a profile.- Parameters:
name
- a name object.
-
setValue
public void setValue(String value)
Set the value of the property to be used to activate a profile.- Parameters:
value
- a value object.
-
-