com.ibm.jbatch.container.context.impl
Class StepContextImpl
java.lang.Object
com.ibm.jbatch.container.context.impl.StepContextImpl
- All Implemented Interfaces:
- StepContext
public class StepContextImpl
- extends Object
- implements StepContext
StepContextImpl
public StepContextImpl(String stepId)
getBatchStatus
public BatchStatus getBatchStatus()
- Specified by:
getBatchStatus in interface StepContext
getException
public Exception getException()
- Specified by:
getException in interface StepContext
setException
public void setException(Exception exception)
getExitStatus
public String getExitStatus()
- Specified by:
getExitStatus in interface StepContext
getStepName
public String getStepName()
- Specified by:
getStepName in interface StepContext
getMetrics
public Metric[] getMetrics()
- Specified by:
getMetrics in interface StepContext
getMetric
public MetricImpl getMetric(Metric.MetricType metricType)
addMetric
public void addMetric(Metric.MetricType metricType,
long value)
getPersistentUserData
public Serializable getPersistentUserData()
- Specified by:
getPersistentUserData in interface StepContext
getProperties
public Properties getProperties()
- Specified by:
getProperties in interface StepContext
getTransientUserData
public Object getTransientUserData()
- Specified by:
getTransientUserData in interface StepContext
setExitStatus
public void setExitStatus(String status)
- Specified by:
setExitStatus in interface StepContext
setBatchStatus
public void setBatchStatus(BatchStatus status)
setPersistentUserData
public void setPersistentUserData(Serializable data)
- Specified by:
setPersistentUserData in interface StepContext
setTransientUserData
public void setTransientUserData(Object data)
- Specified by:
setTransientUserData in interface StepContext
toString
public String toString()
- Overrides:
toString in class Object
getStepExecutionId
public long getStepExecutionId()
- Specified by:
getStepExecutionId in interface StepContext
setStepExecutionId
public void setStepExecutionId(long stepExecutionId)
setStartTime
public void setStartTime(Timestamp startTS)
setEndTime
public void setEndTime(Timestamp endTS)
getStartTimeTS
public Timestamp getStartTimeTS()
getEndTimeTS
public Timestamp getEndTimeTS()
getBatchletProcessRetVal
public String getBatchletProcessRetVal()
setBatchletProcessRetVal
public void setBatchletProcessRetVal(String batchletProcessRetVal)
Copyright © 2013. All Rights Reserved.