Package org.apache.maven.model
Class ActivationProperty
java.lang.Object
org.apache.maven.model.ActivationProperty
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the name of the property to be used to activate a profile.getValue()
Get the value of the property required to activate a profile.void
Set the name of the property to be used to activate a profile.void
Set the value of the property required to activate a profile.
-
Field Details
-
name
The name of the property to be used to activate a profile. -
value
The value of the property required to activate a profile.
-
-
Constructor Details
-
ActivationProperty
public ActivationProperty()
-
-
Method Details
-
getName
Get the name of the property to be used to activate a profile.- Returns:
- String
-
getValue
Get the value of the property required to activate a profile.- Returns:
- String
-
setName
Set the name of the property to be used to activate a profile.- Parameters:
name
- a name object.
-
setValue
Set the value of the property required to activate a profile.- Parameters:
value
- a value object.
-