Class ActivationOS

java.lang.Object
org.apache.maven.settings.ActivationOS
All Implemented Interfaces:
Serializable, Cloneable

public class ActivationOS extends Object implements 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 Details

    • ActivationOS

      public ActivationOS()
  • Method Details

    • clone

      public ActivationOS clone()
      Method clone.
      Overrides:
      clone in class Object
      Returns:
      ActivationOS
    • 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 - a arch object.
    • 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 - a family object.
    • setName

      public void setName(String name)
      Set the name of the OS to be used to activate a profile.
      Parameters:
      name - a name object.
    • setVersion

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