Class ActivationOS

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, InputLocationTracker

    public class ActivationOS
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
    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

      Constructors 
      Constructor Description
      ActivationOS()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ActivationOS clone()
      Method clone.
      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.
      InputLocation getLocation​(java.lang.Object key)
      Gets the location of the specified field in the input source.
      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 setLocation​(java.lang.Object key, InputLocation location)
      Sets the location of the specified field.
      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

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActivationOS

        public ActivationOS()
    • Method Detail

      • clone

        public ActivationOS clone()
        Method clone.
        Overrides:
        clone in class java.lang.Object
        Returns:
        ActivationOS
      • getArch

        public java.lang.String getArch()
        Get the architecture of the operating system to be used to activate the profile.
        Returns:
        String
      • 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.
        Returns:
        String
      • 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.
        Returns:
        String
      • getVersion

        public java.lang.String getVersion()
        Get the version of the operating system to be used to activate the profile.
        Returns:
        String
      • 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 -