public class FlowExecution extends Object implements Comparable<FlowExecution>
Constructor and Description |
---|
FlowExecution(String name,
FlowExecutionStatus status) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FlowExecution other)
Create an ordering on
FlowExecution instances by comparing their
statuses. |
String |
getName() |
FlowExecutionStatus |
getStatus() |
String |
toString() |
public FlowExecution(String name, FlowExecutionStatus status)
name
- status
- public String getName()
public FlowExecutionStatus getStatus()
public int compareTo(FlowExecution other)
FlowExecution
instances by comparing their
statuses.compareTo
in interface Comparable<FlowExecution>
other
- Comparable.compareTo(Object)
Copyright © 2014 Pivotal. All rights reserved.