Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String arch
      The architecture of the OS to be used to activate a profile.
      private java.lang.String family
      The general family of the OS to be used to activate a profile (e.g.
      private java.lang.String name
      The name of the OS to be used to activate a profile.
      private java.lang.String version
      The version of the OS to be used to activate a profile.
    • Constructor Summary

      Constructors 
      Constructor Description
      ActivationOS()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 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 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
    • Field Detail

      • name

        private java.lang.String name
        The name of the OS to be used to activate a profile.
      • family

        private java.lang.String family
        The general family of the OS to be used to activate a profile (e.g. 'windows').
      • arch

        private java.lang.String arch
        The architecture of the OS to be used to activate a profile.
      • version

        private java.lang.String version
        The version of the OS to be used to activate a profile.
    • 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.
        Returns:
        String
      • getFamily

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

        public java.lang.String getName()
        Get the name of the OS to be used to activate a profile.
        Returns:
        String
      • getVersion

        public java.lang.String getVersion()
        Get the version of the OS to be used to activate a profile.
        Returns:
        String
      • setArch

        public void setArch​(java.lang.String arch)
        Set the architecture of the OS to be used to activate a profile.
        Parameters:
        arch - a arch object.
      • 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 - a family object.
      • setName

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

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