Package com.oracle.bmc.devops.model
Enum BuildRunSource.SourceType
- java.lang.Object
-
- java.lang.Enum<BuildRunSource.SourceType>
-
- com.oracle.bmc.devops.model.BuildRunSource.SourceType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<BuildRunSource.SourceType>
- Enclosing class:
- BuildRunSource
public static enum BuildRunSource.SourceType extends Enum<BuildRunSource.SourceType> implements BmcEnum
The source from which the build run is triggered.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BitbucketCloud
BitbucketServer
DevopsCodeRepository
Github
Gitlab
GitlabServer
Manual
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 BuildRunSource.SourceType
create(String key)
String
getValue()
static BuildRunSource.SourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuildRunSource.SourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Manual
public static final BuildRunSource.SourceType Manual
-
Github
public static final BuildRunSource.SourceType Github
-
Gitlab
public static final BuildRunSource.SourceType Gitlab
-
GitlabServer
public static final BuildRunSource.SourceType GitlabServer
-
BitbucketCloud
public static final BuildRunSource.SourceType BitbucketCloud
-
BitbucketServer
public static final BuildRunSource.SourceType BitbucketServer
-
DevopsCodeRepository
public static final BuildRunSource.SourceType DevopsCodeRepository
-
Vbs
public static final BuildRunSource.SourceType Vbs
-
UnknownEnumValue
public static final BuildRunSource.SourceType 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 BuildRunSource.SourceType[] 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 (BuildRunSource.SourceType c : BuildRunSource.SourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildRunSource.SourceType 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 BuildRunSource.SourceType create(String key)
-
-