Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
* The value of the feature.
*/
public String value;

/**
* Timestamp when the license feature entitlement will expire.
*/
public long expiresAt;

Check warning on line 22 in src/main/java/com/cryptlex/lexactivator/FeatureEntitlement.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make expiresAt a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=cryptlex_lexactivator-java&issues=AZsHJNTKCBteDBTEZFKW&open=AZsHJNTKCBteDBTEZFKW&pullRequest=47

}
10 changes: 10 additions & 0 deletions src/main/java/com/cryptlex/lexactivator/UserLicense.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
*/
public String key;

/**
* Total number of activations for the license.
*/
public long totalActivations;

Check warning on line 24 in src/main/java/com/cryptlex/lexactivator/UserLicense.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make totalActivations a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=cryptlex_lexactivator-java&issues=AZsHJNVSCBteDBTEZFKX&open=AZsHJNVSCBteDBTEZFKX&pullRequest=47

/**
* Total number of deactivations for the license.
*/
public long totalDeactivations;

Check warning on line 29 in src/main/java/com/cryptlex/lexactivator/UserLicense.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Make totalDeactivations a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=cryptlex_lexactivator-java&issues=AZsHJNVSCBteDBTEZFKY&open=AZsHJNVSCBteDBTEZFKY&pullRequest=47

/**
* The license type (node-locked or hosted-floating).
*/
Expand Down