Package jetbrains.buildServer.serverSide
Enum BuildRevisionVcsRootType
- java.lang.Object
-
- java.lang.Enum<BuildRevisionVcsRootType>
-
- jetbrains.buildServer.serverSide.BuildRevisionVcsRootType
-
- All Implemented Interfaces:
Serializable
,Comparable<BuildRevisionVcsRootType>
public enum BuildRevisionVcsRootType extends Enum<BuildRevisionVcsRootType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROJECT_SETTINGS
Root is used to store project' settings.REGULAR
A regular VCS root used in build configurationSUBREPO
Subrepo root
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BuildRevisionVcsRootType
create(Integer vcsRootTypeId)
Integer
id()
static BuildRevisionVcsRootType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BuildRevisionVcsRootType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGULAR
public static final BuildRevisionVcsRootType REGULAR
A regular VCS root used in build configuration
-
SUBREPO
public static final BuildRevisionVcsRootType SUBREPO
Subrepo root
-
PROJECT_SETTINGS
public static final BuildRevisionVcsRootType PROJECT_SETTINGS
Root is used to store project' settings. UseREGULAR
if settings are stored in a VCS root attached to a build configuration.
-
-
Method Detail
-
values
public static BuildRevisionVcsRootType[] 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 (BuildRevisionVcsRootType c : BuildRevisionVcsRootType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildRevisionVcsRootType 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
-
id
@Nullable public Integer id()
-
create
public static BuildRevisionVcsRootType create(@Nullable Integer vcsRootTypeId)
-
-