org.apache.maven.profiles
Class ActivationOS

java.lang.Object
  extended by org.apache.maven.profiles.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 OS to be used to activate a profile
 java.lang.String getFamily()
          Get The general family of the OS to be used to activate a profile (e.g.
 java.lang.String getModelEncoding()
           
 java.lang.String getName()
          Get The name of the OS to be used to activate a profile
 java.lang.String getVersion()
          Get The version of the OS to be used to activate a profile
 void setArch(java.lang.String arch)
          Set The architecture of the OS to be used to activate a profile
 void setFamily(java.lang.String family)
          Set The general family of the OS to be used to activate a profile (e.g.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setName(java.lang.String name)
          Set The name of the OS to be used to activate a profile
 void setVersion(java.lang.String version)
          Set The version of the OS to be used to activate a 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 OS to be used to activate a profile


getFamily

public java.lang.String getFamily()
Get The general family of the OS to be used to activate a profile (e.g. 'windows')


getName

public java.lang.String getName()
Get The name of the OS to be used to activate a profile


getVersion

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


setArch

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

Parameters:
arch -

setFamily

public void setFamily(java.lang.String family)
Set The general family of the OS to be used to activate a profile (e.g. 'windows')

Parameters:
family -

setName

public void setName(java.lang.String name)
Set The name of the OS to be used to activate a profile

Parameters:
name -

setVersion

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

Parameters:
version -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


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