Enum ChallengeStatus
- java.lang.Object
-
- java.lang.Enum<ChallengeStatus>
-
- org.openstreetmap.atlas.checks.maproulette.data.ChallengeStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ChallengeStatus>
public enum ChallengeStatus extends java.lang.Enum<ChallengeStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILDINGDELETING_TASKSFAILEDFINISHEDNAPARTIALLY_LOADEDREADY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChallengeStatusfromValue(int value)intintValue()static ChallengeStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ChallengeStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NA
public static final ChallengeStatus NA
-
BUILDING
public static final ChallengeStatus BUILDING
-
FAILED
public static final ChallengeStatus FAILED
-
READY
public static final ChallengeStatus READY
-
PARTIALLY_LOADED
public static final ChallengeStatus PARTIALLY_LOADED
-
FINISHED
public static final ChallengeStatus FINISHED
-
DELETING_TASKS
public static final ChallengeStatus DELETING_TASKS
-
-
Method Detail
-
values
public static ChallengeStatus[] 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 (ChallengeStatus c : ChallengeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChallengeStatus 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
-
fromValue
public static ChallengeStatus fromValue(int value)
-
intValue
public int intValue()
-
-