Enum PersonalChangeCommitDecision
- java.lang.Object
-
- java.lang.Enum<PersonalChangeCommitDecision>
-
- 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
Enum Constants Enum Constant Description COMMIT
Change should be committed by IDEDO_NOT_COMMIT
Change should not be committed.TRIED_TO_COMMIT
An attempt to commit change has been done, a status of commit (success or failure) can be obtained fromPersonalChangeDescriptor.getStatus()
UNKNOWN
Change commit status is not yet determined.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 committed. 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 fromPersonalChangeDescriptor.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 namejava.lang.NullPointerException
- if the argument is null
-
-