Class LicenseContext

java.lang.Object
com.aquima.interactions.foundation.lic.LicenseContext
All Implemented Interfaces:
Serializable

public class LicenseContext extends Object implements Serializable
This object contains license specific context information like the host and domain name.
Since:
6.0
Author:
Jon van Leuven
See Also:
  • Constructor Details

    • LicenseContext

      public LicenseContext(DateValue date, String hostName, String domainName, ComponentType componentType, Version componentVersion)
      Constructs the license context with the required parameters.
      Parameters:
      date - the data value at which the license should be valid.
      hostName - the host name for which the license is specified.
      domainName - the domain name for which the license is specified.
      componentType - the component type for which the license is specified.
      componentVersion - the component version for which the license is specified.
  • Method Details

    • getDate

      public DateValue getDate()
      This method returns the data value at which the license should be valid.
      Returns:
      the data value at which the license should be valid.
    • getHostName

      public String getHostName()
      This method returns the host name for which the license is specified.
      Returns:
      the host name for which the license is specified.
    • getDomainName

      public String getDomainName()
      This method returns the domain name for which the license is specified.
      Returns:
      the domain name for which the license is specified.
    • getType

      public ComponentType getType()
      This method returns the component type for which the license is specified.
      Returns:
      the component type for which the license is specified.
    • getComponentVersion

      public Version getComponentVersion()
      This method returns the component version for which the license is specified.
      Returns:
      the component version for which the license is specified.
    • toString

      public String toString()
      Overrides:
      toString in class Object