public static enum Connection.ConnectionType extends Enum<Connection.ConnectionType> implements BmcEnum
The type of connection.
Enum Constant and Description |
---|
BitbucketCloudAppPassword |
BitbucketServerAccessToken |
GithubAccessToken |
GitlabAccessToken |
GitlabServerAccessToken |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
VbsAccessToken |
Modifier and Type | Method and Description |
---|---|
static Connection.ConnectionType |
create(String key) |
String |
getValue() |
static Connection.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.ConnectionType GithubAccessToken
public static final Connection.ConnectionType GitlabAccessToken
public static final Connection.ConnectionType GitlabServerAccessToken
public static final Connection.ConnectionType BitbucketServerAccessToken
public static final Connection.ConnectionType BitbucketCloudAppPassword
public static final Connection.ConnectionType VbsAccessToken
public static final Connection.ConnectionType UnknownEnumValue
public static Connection.ConnectionType[] values()
for (Connection.ConnectionType c : Connection.ConnectionType.values()) System.out.println(c);
public static Connection.ConnectionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Connection.ConnectionType create(String key)
Copyright © 2016–2024. All rights reserved.