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 Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking
-
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate
-
Constructor Summary
ConstructorsConstructorDescriptionActivation
(Activation delegate) Activation
(Activation delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionstatic List
<Activation> activationToApiV3
(List<Activation> list) static List
<Activation> activationToApiV4
(List<Activation> list) clone()
boolean
getFile()
getJdk()
getLocation
(Object key) Gets the ___location of the specified field in the input source.getOs()
int
hashCode()
boolean
protected boolean
void
setActiveByDefault
(boolean activeByDefault) void
setFile
(ActivationFile file) void
setImportedFrom
(InputLocation ___location) void
void
setLocation
(Object key, InputLocation ___location) Sets the ___location of the specified field.void
setOs
(ActivationOS os) void
setProperty
(ActivationProperty property) Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
Activation
public Activation() -
Activation
-
Activation
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
isActiveByDefault
public boolean isActiveByDefault() -
setActiveByDefault
public void setActiveByDefault(boolean activeByDefault) -
getJdk
-
setJdk
-
getOs
-
setOs
-
getProperty
-
setProperty
-
getFile
-
setFile
-
getLocation
Description copied from interface:InputLocationTracker
Gets the ___location of the specified field in the input source.- Parameters:
key
- The key of the field, must not benull
.- Returns:
- The ___location of the field in the input source or
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets the ___location of the specified field.- Parameters:
key
- The key of the field, must not benull
.___location
- The ___location of the field, may benull
.
-
getImportedFrom
-
setImportedFrom
-
getLocationKeys
-
replace
- Overrides:
replace
in classBaseObject
-
activationToApiV4
-
activationToApiV3
-