Package org.apache.maven.model
Class Activation
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Activation
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.maven.model.BaseObjectBaseObject.ChildrenTracking
- 
Field SummaryFields inherited from class org.apache.maven.model.BaseObjectchildrenTracking, delegate
- 
Constructor SummaryConstructorsConstructorDescriptionActivation(Activation delegate) Activation(Activation delegate, BaseObject parent) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic List<Activation>activationToApiV3(List<Activation> list) static List<Activation>activationToApiV4(List<Activation> list) clone()booleangetFile()getJdk()getLocation(Object key) Gets the location of the specified field in the input source.getOs()inthashCode()booleanprotected booleanvoidsetActiveByDefault(boolean activeByDefault) voidsetFile(ActivationFile file) voidvoidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOs(ActivationOS os) voidsetProperty(ActivationProperty property) Methods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
Activationpublic Activation()
- 
Activation
- 
Activation
 
- 
- 
Method Details- 
clone
- 
getDelegate- Overrides:
- getDelegatein class- BaseObject
 
- 
equals
- 
hashCodepublic int hashCode()
- 
isActiveByDefaultpublic boolean isActiveByDefault()
- 
setActiveByDefaultpublic void setActiveByDefault(boolean activeByDefault) 
- 
getJdk
- 
setJdk
- 
getOs
- 
setOs
- 
getProperty
- 
setProperty
- 
getFile
- 
setFile
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Parameters:
- key- The key of the field, must not be- null.
- Returns:
- The location of the field in the input source or
 nullif unknown.
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Parameters:
- key- The key of the field, must not be- null.
- location- The location of the field, may be- null.
 
- 
replace- Overrides:
- replacein class- BaseObject
 
- 
activationToApiV4
- 
activationToApiV3
 
-