public class FlowExecution extends java.lang.Object implements java.lang.Comparable<FlowExecution>
Constructor and Description |
---|
FlowExecution(java.lang.String name,
FlowExecutionStatus status) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FlowExecution other)
Create an ordering on
FlowExecution instances by comparing their
statuses. |
java.lang.String |
getName() |
FlowExecutionStatus |
getStatus() |
java.lang.String |
toString() |
public FlowExecution(java.lang.String name, FlowExecutionStatus status)
name
- the flow name to be associated with the FlowExecution.status
- the FlowExecutionStatus
to be associated with the FlowExecution.public java.lang.String getName()
public FlowExecutionStatus getStatus()
public int compareTo(FlowExecution other)
FlowExecution
instances by comparing their
statuses.compareTo
in interface java.lang.Comparable<FlowExecution>
other
- the FlowExecution
instance to compare with this instance.Comparable.compareTo(Object)
public java.lang.String toString()
toString
in class java.lang.Object