public final class ActivationLicense extends LicenseIdentity
| Modifier and Type | Class and Description |
|---|---|
static class |
ActivationLicense.ActivationLicenseBuilder<C extends ActivationLicense,B extends ActivationLicense.ActivationLicenseBuilder<C,B>> |
LicenseIdentity.LicenseIdentityBuilder<C extends LicenseIdentity,B extends LicenseIdentity.LicenseIdentityBuilder<C,B>>| Modifier | Constructor and Description |
|---|---|
protected |
ActivationLicense(ActivationLicense.ActivationLicenseBuilder<?,?> b) |
| Modifier and Type | Method and Description |
|---|---|
static ActivationLicense.ActivationLicenseBuilder<?,?> |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static ActivationLicense |
fromKey(String license)
Create license from license key
|
static ActivationLicense |
fromUsername(String username,
String password)
Create license from username and password.
|
String |
getPassword()
Identity's password
|
int |
hashCode() |
String |
toString() |
getIdentity, getLicenseKey, getUsername, setLicenseKey, setUsernameprotected ActivationLicense(ActivationLicense.ActivationLicenseBuilder<?,?> b)
public static ActivationLicense fromUsername(String username, String password)
username - usernamepassword - passwordpublic static ActivationLicense fromKey(String license)
license - license keypublic static ActivationLicense.ActivationLicenseBuilder<?,?> builder()
public String getPassword()
public boolean equals(Object o)
equals in class LicenseIdentityprotected boolean canEqual(Object other)
canEqual in class LicenseIdentitypublic int hashCode()
hashCode in class LicenseIdentitypublic String toString()
toString in class LicenseIdentityCopyright © 2024 Cense Data Inc.. All rights reserved.