Class License
java.lang.Object
de.bytestore.hostinger.entity.space.License
@Entity(name="host_License")
@Configurable(preConstruction=true)
public class License
extends Object
Represents a License entity used to manage various licensing details for users.
The License entity is linked to a specific user and contains information such as
expiration date, IP addresses (IPv4 and IPv6), hardware ID, license file metadata,
and various limitations and permissions associated with the license.
It supports attributes such as maximum allowable virtual machines, containers, processes,
users, domains, and products. Additionally, it allows configuration of permissions related
to content management systems (CMS), e-commerce functionalities, hosting capabilities, and
support services.
The License entity maintains information about its creation and modification dates and users
responsible for these actions. It is also linked to an instance entity and includes mechanisms
for loading related services post-loading the entity.
The state of the license is managed using the LicenseStatus enumeration, which maps an integer
state to a specific license status.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
License
public License()
-
-
Method Details
-
getState
-
setState
-
load
public void load()
-