Enum VcsLabelingSettings.LabelingType
- java.lang.Object
-
- java.lang.Enum<VcsLabelingSettings.LabelingType>
-
- jetbrains.buildServer.serverSide.vcs.VcsLabelingSettings.LabelingType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VcsLabelingSettings.LabelingType>
- Enclosing interface:
- VcsLabelingSettings
public static enum VcsLabelingSettings.LabelingType extends java.lang.Enum<VcsLabelingSettings.LabelingType>
Labeling mode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
Label always.NONE
Do not label.SUCCESSFUL_ONLY
Label successful builds only.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VcsLabelingSettings.LabelingType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VcsLabelingSettings.LabelingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final VcsLabelingSettings.LabelingType NONE
Do not label.
-
ALWAYS
public static final VcsLabelingSettings.LabelingType ALWAYS
Label always.
-
SUCCESSFUL_ONLY
public static final VcsLabelingSettings.LabelingType SUCCESSFUL_ONLY
Label successful builds only.
-
-
Method Detail
-
values
public static VcsLabelingSettings.LabelingType[] 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 (VcsLabelingSettings.LabelingType c : VcsLabelingSettings.LabelingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VcsLabelingSettings.LabelingType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-