Class LicenseContext
java.lang.Object
com.aquima.interactions.foundation.lic.LicenseContext
- All Implemented Interfaces:
Serializable
This object contains license specific context information like the host and domain name.
- Since:
- 6.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLicenseContext
(DateValue date, String hostName, String domainName, ComponentType componentType, Version componentVersion) Constructs the license context with the required parameters. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the component version for which the license is specified.getDate()
This method returns the data value at which the license should be valid.This method returns the domain name for which the license is specified.This method returns the host name for which the license is specified.getType()
This method returns the component type for which the license is specified.toString()
-
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
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
This method returns the host name for which the license is specified.- Returns:
- the host name for which the license is specified.
-
getDomainName
This method returns the domain name for which the license is specified.- Returns:
- the domain name for which the license is specified.
-
getType
This method returns the component type for which the license is specified.- Returns:
- the component type for which the license is specified.
-
getComponentVersion
This method returns the component version for which the license is specified.- Returns:
- the component version for which the license is specified.
-
toString
-