|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.
Constructor Summary | |
---|---|
ActivationOS()
|
Method Summary | |
---|---|
String |
getArch()
Get the architecture of the operating system to be used to activate the profile. |
String |
getFamily()
Get the general family of the OS to be used to activate the profile, such as windows or unix . |
String |
getName()
Get the name of the operating system to be used to activate the profile. |
String |
getVersion()
Get the version of the operating system to be used to activate the profile. |
void |
setArch(String arch)
Set the architecture of the operating system to be used to activate the profile. |
void |
setFamily(String family)
Set the general family of the OS to be used to activate the profile, such as windows or unix . |
void |
setName(String name)
Set the name of the operating system to be used to activate the profile. |
void |
setVersion(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 |
Constructor Detail |
---|
public ActivationOS()
Method Detail |
---|
public String getArch()
public String getFamily()
windows
or unix
.
public String getName()
${os.name}
Java property,
such as Windows XP
.
public String getVersion()
public void setArch(String arch)
arch
- public void setFamily(String family)
windows
or unix
.
family
- public void setName(String name)
${os.name}
Java property,
such as Windows XP
.
name
- public void setVersion(String version)
version
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |