Enum OrgLicenseType
- java.lang.Object
-
- java.lang.Enum<OrgLicenseType>
-
- com.blackberry.workspaces.sdk.api.enums.OrgLicenseType
-
- All Implemented Interfaces:
Serializable
,Comparable<OrgLicenseType>
public enum OrgLicenseType extends Enum<OrgLicenseType>
An enum of organization license types
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrgLicenseType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OrgLicenseType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAID
public static final OrgLicenseType PAID
Paid
-
TRIAL
public static final OrgLicenseType TRIAL
Trial
-
NON_PAID
public static final OrgLicenseType NON_PAID
Non-paid
-
PARTNER
public static final OrgLicenseType PARTNER
Partner
-
PAAS
public static final OrgLicenseType PAAS
PaaS
-
-
Method Detail
-
values
public static OrgLicenseType[] 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 (OrgLicenseType c : OrgLicenseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrgLicenseType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-