public class StepContextImpl extends Object implements StepContext
| Modifier and Type | Field and Description |
|---|---|
static String |
TOP_LEVEL_STEP_EXECUTION_ID_PROP |
| Constructor and Description |
|---|
StepContextImpl(String stepId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetric(Metric.MetricType metricType,
long value) |
String |
getBatchletProcessRetVal() |
BatchStatus |
getBatchStatus() |
Timestamp |
getEndTimeTS() |
Exception |
getException() |
String |
getExitStatus() |
long |
getInternalStepExecutionId() |
Properties |
getJSLProperties() |
MetricImpl |
getMetric(Metric.MetricType metricType) |
Metric[] |
getMetrics() |
Serializable |
getPersistentUserData() |
Properties |
getProperties() |
Timestamp |
getStartTimeTS() |
long |
getStepExecutionId() |
String |
getStepName() |
Object |
getTransientUserData() |
void |
setBatchletProcessRetVal(String batchletProcessRetVal) |
void |
setBatchStatus(BatchStatus status) |
void |
setEndTime(Timestamp endTS) |
void |
setException(Exception exception) |
void |
setExitStatus(String status) |
void |
setPersistentUserData(Serializable data) |
void |
setStartTime(Timestamp startTS) |
void |
setStepExecutionId(long stepExecutionId) |
void |
setTransientUserData(Object data) |
String |
toString() |
public static final String TOP_LEVEL_STEP_EXECUTION_ID_PROP
public StepContextImpl(String stepId)
public BatchStatus getBatchStatus()
getBatchStatus in interface StepContextpublic Exception getException()
getException in interface StepContextpublic void setException(Exception exception)
public String getExitStatus()
getExitStatus in interface StepContextpublic String getStepName()
getStepName in interface StepContextpublic Metric[] getMetrics()
getMetrics in interface StepContextpublic MetricImpl getMetric(Metric.MetricType metricType)
public void addMetric(Metric.MetricType metricType, long value)
public Serializable getPersistentUserData()
getPersistentUserData in interface StepContextpublic Properties getProperties()
getProperties in interface StepContextpublic Properties getJSLProperties()
public Object getTransientUserData()
getTransientUserData in interface StepContextpublic void setExitStatus(String status)
setExitStatus in interface StepContextpublic void setBatchStatus(BatchStatus status)
public void setPersistentUserData(Serializable data)
setPersistentUserData in interface StepContextpublic void setTransientUserData(Object data)
setTransientUserData in interface StepContextpublic long getStepExecutionId()
getStepExecutionId in interface StepContextpublic long getInternalStepExecutionId()
public void setStepExecutionId(long stepExecutionId)
public void setStartTime(Timestamp startTS)
public void setEndTime(Timestamp endTS)
public Timestamp getStartTimeTS()
public Timestamp getEndTimeTS()
public String getBatchletProcessRetVal()
public void setBatchletProcessRetVal(String batchletProcessRetVal)
© Copyright IBM Corp. 2014
Licensed under the Apache License, Version 2.0