类 FlowExecution
- java.lang.Object
- org.springframework.batch.core.job.flow.FlowExecution
- 所有已实现的接口:
java.lang.Comparable<FlowExecution>
public class FlowExecution extends java.lang.Object implements java.lang.Comparable<FlowExecution>
- 从以下版本开始:
- 2.0
- 作者:
- Dave Syer
构造器概要
构造器 构造器 说明 FlowExecution(java.lang.String name, FlowExecutionStatus status)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
compareTo(FlowExecution other)
Create an ordering onFlowExecution
instances by comparing their statuses.java.lang.String
getName()
FlowExecutionStatus
getStatus()
java.lang.String
toString()
构造器详细资料
FlowExecution
public FlowExecution(java.lang.String name, FlowExecutionStatus status)
- 参数:
name
- the flow name to be associated with the FlowExecution.status
- theFlowExecutionStatus
to be associated with the FlowExecution.
方法详细资料
getName
public java.lang.String getName()
- 返回:
- the name of the end state reached
getStatus
public FlowExecutionStatus getStatus()
- 返回:
- the FlowExecutionStatus
compareTo
public int compareTo(FlowExecution other)
Create an ordering onFlowExecution
instances by comparing their statuses.- 指定者:
compareTo
在接口中java.lang.Comparable<FlowExecution>
- 参数:
other
- theFlowExecution
instance to compare with this instance.- 返回:
- negative, zero or positive as per the contract
- 另请参阅:
Comparable.compareTo(Object)
toString
public java.lang.String toString()
- 覆盖:
toString
在类中java.lang.Object