Package org.cyclonedx.model
Enum Licensing.LicensingType
- java.lang.Object
-
- java.lang.Enum<Licensing.LicensingType>
-
- org.cyclonedx.model.Licensing.LicensingType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Licensing.LicensingType>
- Enclosing class:
- Licensing
public static enum Licensing.LicensingType extends java.lang.Enum<Licensing.LicensingType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACADEMICAPPLIANCECLIENT_ACCESSCONCURRENT_USERCORE_POINTSCUSTOM_METRICDEVICEEVALUATIONNAMED_USERNODE_LOCKEDOEMOTHERPERPETUALPROCESSOR_POINTSSUBSCRIPTIONUSER
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringname
-
Constructor Summary
Constructors Modifier Constructor Description privateLicensingType(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Licensing.LicensingTypefromString(java.lang.String value)java.lang.StringgetLicensingType()static Licensing.LicensingTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Licensing.LicensingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACADEMIC
public static final Licensing.LicensingType ACADEMIC
-
APPLIANCE
public static final Licensing.LicensingType APPLIANCE
-
CLIENT_ACCESS
public static final Licensing.LicensingType CLIENT_ACCESS
-
CONCURRENT_USER
public static final Licensing.LicensingType CONCURRENT_USER
-
CORE_POINTS
public static final Licensing.LicensingType CORE_POINTS
-
CUSTOM_METRIC
public static final Licensing.LicensingType CUSTOM_METRIC
-
DEVICE
public static final Licensing.LicensingType DEVICE
-
EVALUATION
public static final Licensing.LicensingType EVALUATION
-
NAMED_USER
public static final Licensing.LicensingType NAMED_USER
-
NODE_LOCKED
public static final Licensing.LicensingType NODE_LOCKED
-
OEM
public static final Licensing.LicensingType OEM
-
PERPETUAL
public static final Licensing.LicensingType PERPETUAL
-
PROCESSOR_POINTS
public static final Licensing.LicensingType PROCESSOR_POINTS
-
SUBSCRIPTION
public static final Licensing.LicensingType SUBSCRIPTION
-
USER
public static final Licensing.LicensingType USER
-
OTHER
public static final Licensing.LicensingType OTHER
-
-
Method Detail
-
values
public static Licensing.LicensingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Licensing.LicensingType c : Licensing.LicensingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Licensing.LicensingType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getLicensingType
public java.lang.String getLicensingType()
-
fromString
public static Licensing.LicensingType fromString(java.lang.String value)
-
-