jetbrains.buildServer.serverSide.mute
Enum MuteScope.ScopeType

java.lang.Object
  extended by java.lang.Enum<MuteScope.ScopeType>
      extended by 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
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
java.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()