Package com.oracle.bmc.devops.model
Enum BuildSource.ConnectionType
- java.lang.Object
-
- java.lang.Enum<BuildSource.ConnectionType>
-
- com.oracle.bmc.devops.model.BuildSource.ConnectionType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<BuildSource.ConnectionType>
- Enclosing class:
- BuildSource
public static enum BuildSource.ConnectionType extends Enum<BuildSource.ConnectionType> implements BmcEnum
The type of source provider.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BitbucketCloud
BitbucketServer
DevopsCodeRepository
Github
Gitlab
GitlabServer
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Vbs
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BuildSource.ConnectionType
create(String key)
String
getValue()
static BuildSource.ConnectionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuildSource.ConnectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Github
public static final BuildSource.ConnectionType Github
-
Gitlab
public static final BuildSource.ConnectionType Gitlab
-
GitlabServer
public static final BuildSource.ConnectionType GitlabServer
-
BitbucketCloud
public static final BuildSource.ConnectionType BitbucketCloud
-
BitbucketServer
public static final BuildSource.ConnectionType BitbucketServer
-
DevopsCodeRepository
public static final BuildSource.ConnectionType DevopsCodeRepository
-
Vbs
public static final BuildSource.ConnectionType Vbs
-
UnknownEnumValue
public static final BuildSource.ConnectionType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static BuildSource.ConnectionType[] 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 (BuildSource.ConnectionType c : BuildSource.ConnectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildSource.ConnectionType 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
-
create
public static BuildSource.ConnectionType create(String key)
-
-