![JAR search and dependency download from the Maven repository](/logo.png)
com.labs64.netlicensing.domain.vo.LicenseeSecretMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netlicensing-client Show documentation
Show all versions of netlicensing-client Show documentation
Java wrapper for Labs64 NetLicensing RESTful API
package com.labs64.netlicensing.domain.vo;
public enum LicenseeSecretMode {
/**
* @deprecated
*/
@Deprecated DISABLED("DISABLED"),
PREDEFINED("PREDEFINED"),
CLIENT("CLIENT");
private final String value;
/**
* Instantiates a new Licensee Secret Mode.
*
* @param licenseeSecretModeValue
* LicenseeSecretMode value
*/
LicenseeSecretMode(final String licenseeSecretModeValue) {
value = licenseeSecretModeValue;
}
public static LicenseeSecretMode parseString(final String value) {
for (final LicenseeSecretMode licenseeSecretMode : LicenseeSecretMode.values()) {
if (licenseeSecretMode.name().equalsIgnoreCase(value)) {
return licenseeSecretMode;
}
}
return LicenseeSecretMode.PREDEFINED;
}
/*
* (non-Javadoc)
*
* @see java.lang.Enum#toString()
*/
@Override
public String toString() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy