com.atlassian.greenhopper.service.rank
Enum RankChange.RankChangeType
java.lang.Object
java.lang.Enum<RankChange.RankChangeType>
com.atlassian.greenhopper.service.rank.RankChange.RankChangeType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RankChange.RankChangeType>
- Enclosing class:
- RankChange
public static enum RankChange.RankChangeType
- extends java.lang.Enum<RankChange.RankChangeType>
Defines the different types of RankChange outcomes.
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 |
INSERT
public static final RankChange.RankChangeType INSERT
MOVE
public static final RankChange.RankChangeType MOVE
REMOVE
public static final RankChange.RankChangeType REMOVE
NO_OP
public static final RankChange.RankChangeType NO_OP
- Returned in case no operation took place, e.g. when the issue was ranked onto itself or after the current parent.
values
public static RankChange.RankChangeType[] 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 (RankChange.RankChangeType c : RankChange.RankChangeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RankChange.RankChangeType 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
Copyright © 2007-2012 Atlassian. All Rights Reserved.