|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.model.ActivationOS
public class ActivationOS
This is an activator which will detect an operating system's attributes in order to activate its profile.
Field Summary | |
---|---|
private java.lang.String |
arch
The architecture of the operating system to be used to activate the profile. |
private java.lang.String |
family
The general family of the OS to be used to activate the profile, such as windows or
unix . |
private java.lang.String |
name
The name of the operating system to be used to activate the profile. |
private java.lang.String |
version
The version of the operating system to be used to activate the profile. |
Constructor Summary | |
---|---|
ActivationOS()
|
Method Summary | |
---|---|
java.lang.String |
getArch()
Get the architecture of the operating system to be used to activate the profile. |
java.lang.String |
getFamily()
Get the general family of the OS to be used to activate the profile, such as windows or unix . |
java.lang.String |
getName()
Get the name of the operating system to be used to activate the profile. |
java.lang.String |
getVersion()
Get the version of the operating system to be used to activate the profile. |
void |
setArch(java.lang.String arch)
Set the architecture of the operating system to be used to activate the profile. |
void |
setFamily(java.lang.String family)
Set the general family of the OS to be used to activate the profile, such as windows or unix . |
void |
setName(java.lang.String name)
Set the name of the operating system to be used to activate the profile. |
void |
setVersion(java.lang.String version)
Set the version of the operating system to be used to activate the profile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String name
${os.name}
Java property, such
as Windows XP
.
private java.lang.String family
windows
or
unix
.
private java.lang.String arch
private java.lang.String version
Constructor Detail |
---|
public ActivationOS()
Method Detail |
---|
public java.lang.String getArch()
public java.lang.String getFamily()
windows
or unix
.
public java.lang.String getName()
${os.name}
Java property, such
as Windows XP
.
public java.lang.String getVersion()
public void setArch(java.lang.String arch)
arch
- public void setFamily(java.lang.String family)
windows
or unix
.
family
- public void setName(java.lang.String name)
${os.name}
Java property, such
as Windows XP
.
name
- public void setVersion(java.lang.String version)
version
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |