jetbrains.buildServer.serverSide.userChanges
Enum PersonalChangeCommitDecision

java.lang.Object
  extended by java.lang.Enum<PersonalChangeCommitDecision>
      extended by jetbrains.buildServer.serverSide.userChanges.PersonalChangeCommitDecision
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PersonalChangeCommitDecision>

public enum PersonalChangeCommitDecision
extends java.lang.Enum<PersonalChangeCommitDecision>

Author:
Eugene Petrenko Created: 06.11.2008 13:27:23

Enum Constant Summary
COMMIT
          Change should be committed by IDE
DO_NOT_COMMIT
          Change should not be comitted.
TRIED_TO_COMMIT
          An attempt to commit change has been done, a status of commit (success or failure) can be obtained from PersonalChangeDescriptor.getStatus()
UNKNOWN
          Change commit status is not yet determined.
 
Method Summary
static PersonalChangeCommitDecision valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PersonalChangeCommitDecision[] 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

UNKNOWN

public static final PersonalChangeCommitDecision UNKNOWN
Change commit status is not yet determined. (builds are either in queue or running)


COMMIT

public static final PersonalChangeCommitDecision COMMIT
Change should be committed by IDE


DO_NOT_COMMIT

public static final PersonalChangeCommitDecision DO_NOT_COMMIT
Change should not be comitted. This may happen even if some personal builds of that change are running


TRIED_TO_COMMIT

public static final PersonalChangeCommitDecision TRIED_TO_COMMIT
An attempt to commit change has been done, a status of commit (success or failure) can be obtained from PersonalChangeDescriptor.getStatus()

Method Detail

values

public static PersonalChangeCommitDecision[] 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 (PersonalChangeCommitDecision c : PersonalChangeCommitDecision.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PersonalChangeCommitDecision 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