Enum Class OAuth2ConnectionType

java.lang.Object
java.lang.Enum<OAuth2ConnectionType>
com.atlassian.applinks.api.OAuth2ConnectionType
All Implemented Interfaces:
Serializable, Comparable<OAuth2ConnectionType>, Constable

public enum OAuth2ConnectionType extends Enum<OAuth2ConnectionType>
Indicates the origin of an application link. Used by links that come from the Atlassian OAuth2 plugin.
Since:
8.0.11
  • Enum Constant Details

    • OAUTH2_CLIENT

      public static final OAuth2ConnectionType 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

      public static final OAuth2ConnectionType 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

      public static OAuth2ConnectionType[] 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

      public static OAuth2ConnectionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null