Enum CypherTaskStatus
- java.lang.Object
-
- java.lang.Enum<CypherTaskStatus>
-
- com.graphdbapi.driver.internal.value.CypherTaskStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<CypherTaskStatus>
public enum CypherTaskStatus extends Enum<CypherTaskStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CypherTaskStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static CypherTaskStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final CypherTaskStatus PENDING
任务等待执行
-
EXECUTING
public static final CypherTaskStatus EXECUTING
任务执行中
-
SUCCESS
public static final CypherTaskStatus SUCCESS
任务执行成功
-
FAIL
public static final CypherTaskStatus FAIL
任务执行失败
-
NOTASK
public static final CypherTaskStatus NOTASK
无此任务
-
-
Method Detail
-
values
public static CypherTaskStatus[] 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 (CypherTaskStatus c : CypherTaskStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CypherTaskStatus 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
-
-