public enum TaskAttribute extends Enum<TaskAttribute>
Enum Constant and Description |
---|
COMPLETED |
DURATION |
END |
LOAD |
START |
Modifier and Type | Method and Description |
---|---|
static TaskAttribute |
fromString(String n) |
static TaskAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskAttribute START
public static final TaskAttribute END
public static final TaskAttribute COMPLETED
public static final TaskAttribute DURATION
public static final TaskAttribute LOAD
public static TaskAttribute[] values()
for (TaskAttribute c : TaskAttribute.values()) System.out.println(c);
public static TaskAttribute valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TaskAttribute fromString(String n)
Copyright © 2015. All Rights Reserved.