org.apache.maven.profiles
Class ActivationOS

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

public class ActivationOS
extends Object
implements 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
 String getArch()
          Get the architecture of the OS to be used to activate a profile.
 String getFamily()
          Get the general family of the OS to be used to activate a profile (e.g.
 String getName()
          Get the name of the OS to be used to activate a profile.
 String getVersion()
          Get the version of the OS to be used to activate a profile.
 void setArch(String arch)
          Set the architecture of the OS to be used to activate a profile.
 void setFamily(String family)
          Set the general family of the OS to be used to activate a profile (e.g.
 void setName(String name)
          Set the name of the OS to be used to activate a profile.
 void setVersion(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 String getArch()
Get the architecture of the OS to be used to activate a profile.

Returns:
String

getFamily

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

Returns:
String

getName

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

Returns:
String

getVersion

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

Returns:
String

setArch

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

Parameters:
arch -

setFamily

public void setFamily(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(String name)
Set the name of the OS to be used to activate a profile.

Parameters:
name -

setVersion

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

Parameters:
version -


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.