Package org.apache.maven.settings
Class ActivationOS
java.lang.Object
org.apache.maven.settings.ActivationOS
- All Implemented Interfaces:
 Serializable,Cloneable
This is an activator which will detect an operating
 system's attributes in order to activate
         its profile.
- Version:
 - $Revision$ $Date$
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionclone()Method clone.getArch()Get the architecture of the OS to be used to activate a profile.Get the general family of the OS to be used to activate a profile (e.g.getName()Get the name of the OS to be used to activate a profile.Get the version of the OS to be used to activate a profile.voidSet the architecture of the OS to be used to activate a profile.voidSet the general family of the OS to be used to activate a profile (e.g.voidSet the name of the OS to be used to activate a profile.voidsetVersion(String version) Set the version of the OS to be used to activate a profile. 
- 
Constructor Details
- 
ActivationOS
public ActivationOS() 
 - 
 - 
Method Details
- 
clone
Method clone. - 
getArch
Get the architecture of the OS to be used to activate a profile.- Returns:
 - String
 
 - 
getFamily
Get the general family of the OS to be used to activate a profile (e.g. 'windows').- Returns:
 - String
 
 - 
getName
Get the name of the OS to be used to activate a profile.- Returns:
 - String
 
 - 
getVersion
Get the version of the OS to be used to activate a profile.- Returns:
 - String
 
 - 
setArch
Set the architecture of the OS to be used to activate a profile.- Parameters:
 arch- a arch object.
 - 
setFamily
Set the general family of the OS to be used to activate a profile (e.g. 'windows').- Parameters:
 family- a family object.
 - 
setName
Set the name of the OS to be used to activate a profile.- Parameters:
 name- a name object.
 - 
setVersion
Set the version of the OS to be used to activate a profile.- Parameters:
 version- a version object.
 
 -