Enum MuteScope.ScopeType
- java.lang.Object
-
- java.lang.Enum<MuteScope.ScopeType>
-
- jetbrains.buildServer.serverSide.mute.MuteScope.ScopeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MuteScope.ScopeType>
- Enclosing interface:
- MuteScope
public static enum MuteScope.ScopeType extends java.lang.Enum<MuteScope.ScopeType>
Muting scope type.- See Also:
MuteInfo
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IN_CONFIGURATION
Test muted in build configuration.IN_ONE_BUILD
Test muted in one build only.IN_PROJECT
Test muted in whole project.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MuteScope.ScopeType
fromChar(char code)
Converts from a one-character code.char
getCode()
Converts to a one-character code.static MuteScope.ScopeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MuteScope.ScopeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_ONE_BUILD
public static final MuteScope.ScopeType IN_ONE_BUILD
Test muted in one build only.
-
IN_CONFIGURATION
public static final MuteScope.ScopeType IN_CONFIGURATION
Test muted in build configuration.
-
IN_PROJECT
public static final MuteScope.ScopeType IN_PROJECT
Test muted in whole project.
-
-
Method Detail
-
values
public static MuteScope.ScopeType[] 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 (MuteScope.ScopeType c : MuteScope.ScopeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MuteScope.ScopeType 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
-
getCode
public char getCode()
Converts to a one-character code.- Returns:
- character code.
- See Also:
fromChar(char)
-
fromChar
public static MuteScope.ScopeType fromChar(char code)
Converts from a one-character code.- Parameters:
code
- one-character code.- Returns:
- scope.
- Throws:
java.lang.IllegalArgumentException
- when the code is invalid.- See Also:
getCode()
-
-