Enum TaskVerificationStatus
- java.lang.Object
-
- java.lang.Enum<TaskVerificationStatus>
-
- de.unistuttgart.informatik.fius.icge.ui.TaskVerificationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskVerificationStatus>
public enum TaskVerificationStatus extends Enum<TaskVerificationStatus>
Enum describing the verification status of a task.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILED
Failed is for tasks that have not been solved correctly.SUCCESSFUL
Successful is for tasks that have ben solved correctly.UNDECIDED
Undecided is for tasks that have not been verified (or have not failed yet).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaskVerificationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskVerificationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDECIDED
public static final TaskVerificationStatus UNDECIDED
Undecided is for tasks that have not been verified (or have not failed yet).
-
SUCCESSFUL
public static final TaskVerificationStatus SUCCESSFUL
Successful is for tasks that have ben solved correctly.
-
FAILED
public static final TaskVerificationStatus FAILED
Failed is for tasks that have not been solved correctly.
-
-
Method Detail
-
values
public static TaskVerificationStatus[] 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 (TaskVerificationStatus c : TaskVerificationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskVerificationStatus valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-