public class FlowExecutionStatus extends java.lang.Object implements java.lang.Comparable<FlowExecutionStatus>
FlowExecution
.Modifier and Type | Field and Description |
---|---|
static FlowExecutionStatus |
COMPLETED
Special well-known status value.
|
static FlowExecutionStatus |
FAILED
Special well-known status value.
|
static FlowExecutionStatus |
STOPPED
Special well-known status value.
|
static FlowExecutionStatus |
UNKNOWN
Special well-known status value.
|
Constructor and Description |
---|
FlowExecutionStatus(java.lang.String status) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FlowExecutionStatus other)
Create an ordering on
FlowExecutionStatus instances by comparing
their statuses. |
boolean |
equals(java.lang.Object object)
Check the equality of the statuses.
|
java.lang.String |
getName() |
int |
hashCode() |
boolean |
isEnd() |
boolean |
isFail() |
boolean |
isStop() |
java.lang.String |
toString() |
public static final FlowExecutionStatus COMPLETED
public static final FlowExecutionStatus STOPPED
public static final FlowExecutionStatus FAILED
public static final FlowExecutionStatus UNKNOWN
public FlowExecutionStatus(java.lang.String status)
status
- public boolean isStop()
public boolean isFail()
public boolean isEnd()
public int compareTo(FlowExecutionStatus other)
FlowExecutionStatus
instances by comparing
their statuses.compareTo
in interface java.lang.Comparable<FlowExecutionStatus>
other
- Comparable.compareTo(Object)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String getName()