Package com.atlassian.application.api
Enum Class ApplicationAccess.AccessError
java.lang.Object
java.lang.Enum<ApplicationAccess.AccessError>
com.atlassian.application.api.ApplicationAccess.AccessError
- All Implemented Interfaces:
Serializable,Comparable<ApplicationAccess.AccessError>,Constable
- Enclosing interface:
- ApplicationAccess
Represents the different types of access error.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheApplicationis licensed but that license is now out of date.TheApplicationis licensed but the user does not have access.TheApplicationis not licensed.TheApplicationis licensed but too many users are allowed access.TheApplicationis too new for the license. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ApplicationAccess.AccessError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNLICENSED
TheApplicationis not licensed. -
EXPIRED
TheApplicationis licensed but that license is now out of date. Some licenses do not have an expiry. -
VERSION_MISMATCH
TheApplicationis too new for the license. -
USERS_EXCEEDED
TheApplicationis licensed but too many users are allowed access. -
NO_ACCESS
TheApplicationis licensed but the user does not have access.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-