Enum UnmutePreference
- java.lang.Object
-
- java.lang.Enum<UnmutePreference>
-
- jetbrains.buildServer.serverSide.mute.UnmutePreference
-
- All Implemented Interfaces:
Serializable
,Comparable<UnmutePreference>
public enum UnmutePreference extends Enum<UnmutePreference>
Indicates which projects and build configurations should be affected by unmute operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IncludeDescendantProjects
Specified project and child projects and build configurations.IncludeParentalAndDescendantProjects
Specified project, child projects and build configurations and parent projects.ProjectOnly
Specified project only, excluding child and parent projects and build configurations.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnmutePreference
valueOf(String name)
Returns the enum constant of this type with the specified name.static UnmutePreference[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ProjectOnly
public static final UnmutePreference ProjectOnly
Specified project only, excluding child and parent projects and build configurations.
-
IncludeDescendantProjects
public static final UnmutePreference IncludeDescendantProjects
Specified project and child projects and build configurations.
-
IncludeParentalAndDescendantProjects
public static final UnmutePreference IncludeParentalAndDescendantProjects
Specified project, child projects and build configurations and parent projects.
-
-
Method Detail
-
values
public static UnmutePreference[] 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 (UnmutePreference c : UnmutePreference.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnmutePreference 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
-
-