public class StepContextImpl extends Object implements javax.batch.runtime.context.StepContext
| Constructor and Description |
|---|
StepContextImpl(String stepId) |
public StepContextImpl(String stepId)
public javax.batch.runtime.BatchStatus getBatchStatus()
getBatchStatus in interface javax.batch.runtime.context.StepContextpublic Exception getException()
getException in interface javax.batch.runtime.context.StepContextpublic void setException(Exception exception)
public String getExitStatus()
getExitStatus in interface javax.batch.runtime.context.StepContextpublic String getStepName()
getStepName in interface javax.batch.runtime.context.StepContextpublic javax.batch.runtime.Metric[] getMetrics()
getMetrics in interface javax.batch.runtime.context.StepContextpublic MetricImpl getMetric(javax.batch.runtime.Metric.MetricType metricType)
public void addMetric(javax.batch.runtime.Metric.MetricType metricType,
long value)
public Serializable getPersistentUserData()
getPersistentUserData in interface javax.batch.runtime.context.StepContextpublic Properties getProperties()
getProperties in interface javax.batch.runtime.context.StepContextpublic Object getTransientUserData()
getTransientUserData in interface javax.batch.runtime.context.StepContextpublic void setExitStatus(String status)
setExitStatus in interface javax.batch.runtime.context.StepContextpublic void setBatchStatus(javax.batch.runtime.BatchStatus status)
public void setPersistentUserData(Serializable data)
setPersistentUserData in interface javax.batch.runtime.context.StepContextpublic void setTransientUserData(Object data)
setTransientUserData in interface javax.batch.runtime.context.StepContextpublic long getStepExecutionId()
getStepExecutionId in interface javax.batch.runtime.context.StepContextpublic long getStepInternalExecID()
public void setStepExecutionId(long stepExecutionId)
public void setInternalStepExecutionId(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 © 2022 The Apache Software Foundation. All rights reserved.