Package org.apache.maven.profiles
Class ActivationOS
java.lang.Object
org.apache.maven.profiles.ActivationOS
- All Implemented Interfaces:
- Serializable
This is an activator which will detect an operating
 system's attributes in order to activate
         its profile.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetArch()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- 
ActivationOSpublic ActivationOS()
 
- 
- 
Method Details- 
getArchGet the architecture of the OS to be used to activate a profile.- Returns:
- String
 
- 
getFamilyGet the general family of the OS to be used to activate a profile (e.g. 'windows').- Returns:
- String
 
- 
getNameGet the name of the OS to be used to activate a profile.- Returns:
- String
 
- 
getVersionGet the version of the OS to be used to activate a profile.- Returns:
- String
 
- 
setArchSet the architecture of the OS to be used to activate a profile.- Parameters:
- arch- a arch object.
 
- 
setFamilySet the general family of the OS to be used to activate a profile (e.g. 'windows').- Parameters:
- family- a family object.
 
- 
setNameSet the name of the OS to be used to activate a profile.- Parameters:
- name- a name object.
 
- 
setVersionSet the version of the OS to be used to activate a profile.- Parameters:
- version- a version object.
 
 
-