org.apache.maven.model
Class ActivationOS

java.lang.Object
  extended by org.apache.maven.model.ActivationOS
All Implemented Interfaces:
java.io.Serializable

public class ActivationOS
extends java.lang.Object
implements java.io.Serializable

This is an activator which will detect an operating system's attributes in order to activate its profile.

Version:
$Revision$ $Date$
See Also:
Serialized Form

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 getModelEncoding()
           
 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 setModelEncoding(java.lang.String modelEncoding)
           
 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
 

Constructor Detail

ActivationOS

public ActivationOS()
Method Detail

getArch

public java.lang.String getArch()
Get The architecture of the operating system to be used to activate the profile.


getFamily

public java.lang.String getFamily()
Get The general family of the OS to be used to activate the profile, such as windows or unix.


getName

public java.lang.String getName()
Get The name of the operating system to be used to activate the profile. This must be an exact match of the ${os.name} Java property, such as Windows XP.


getVersion

public java.lang.String getVersion()
Get The version of the operating system to be used to activate the profile.


setArch

public void setArch(java.lang.String arch)
Set The architecture of the operating system to be used to activate the profile.

Parameters:
arch -

setFamily

public 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.

Parameters:
family -

setName

public void setName(java.lang.String name)
Set The name of the operating system to be used to activate the profile. This must be an exact match of the ${os.name} Java property, such as Windows XP.

Parameters:
name -

setVersion

public void setVersion(java.lang.String version)
Set The version of the operating system to be used to activate the profile.

Parameters:
version -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.