Package org.apache.maven.model
Class ActivationOS
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.ActivationOS
- 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
ConstructorDescriptionActivationOS
(ActivationOS delegate) ActivationOS
(ActivationOS delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ActivationOS>
activationOSToApiV3
(List<ActivationOS> list) static List<ActivationOS>
activationOSToApiV4
(List<ActivationOS> list) clone()
boolean
getArch()
getLocation
(Object key) Gets the location of the specified field in the input source.getName()
int
hashCode()
protected boolean
void
void
void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.void
void
setVersion
(String version) Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
ActivationOS
public ActivationOS() -
ActivationOS
-
ActivationOS
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
getName
-
setName
-
getFamily
-
setFamily
-
getArch
-
setArch
-
getVersion
-
setVersion
-
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
.
-
replace
- Overrides:
replace
in classBaseObject
-
activationOSToApiV4
-
activationOSToApiV3
-