Package org.apache.maven.model
Class ActivationProperty
java.lang.Object
org.apache.maven.model.ActivationProperty
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
public class ActivationProperty
extends Object
implements Serializable, Cloneable, InputLocationTracker
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:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.getLocation(Object key) Gets the location of the specified field in the input source.getName()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.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidSet the name of the property to be used to activate a profile.voidsetOtherLocation(Object key, InputLocation location) voidSet the value of the property required to activate a profile.
- 
Constructor Details- 
ActivationPropertypublic ActivationProperty()
 
- 
- 
Method Details- 
cloneMethod clone.
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
getNameGet the name of the property to be used to activate a profile.- Returns:
- String
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
getValueGet the value of the property required to activate a profile.- Returns:
- String
 
- 
setNameSet the name of the property to be used to activate a profile.- Parameters:
- name- a name object.
 
- 
setValueSet the value of the property required to activate a profile.- Parameters:
- value- a value object.
 
 
-