Package com.atlassian.applinks.api
Enum Class OAuth2ConnectionType
- All Implemented Interfaces:
Serializable,Comparable<OAuth2ConnectionType>,Constable
Indicates the origin of an application link.
Used by links that come from the Atlassian OAuth2 plugin.
- Since:
- 8.0.11
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis connection type is given to all application links that represent a connection from the OAuth2 client plugin.This connection type is given to all application links that represent a connection from the OAuth2 provider plugin. -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2ConnectionTypeReturns the enum constant of this class with the specified name.static OAuth2ConnectionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OAUTH2_CLIENT
This connection type is given to all application links that represent a connection from the OAuth2 client plugin.- Since:
- 8.1
-
OAUTH2_PROVIDER
This connection type is given to all application links that represent a connection from the OAuth2 provider plugin.- Since:
- 8.1
-
-
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
-