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.StepContext
public Exception getException()
getException
in interface javax.batch.runtime.context.StepContext
public void setException(Exception exception)
public String getExitStatus()
getExitStatus
in interface javax.batch.runtime.context.StepContext
public String getStepName()
getStepName
in interface javax.batch.runtime.context.StepContext
public javax.batch.runtime.Metric[] getMetrics()
getMetrics
in interface javax.batch.runtime.context.StepContext
public 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.StepContext
public Properties getProperties()
getProperties
in interface javax.batch.runtime.context.StepContext
public Object getTransientUserData()
getTransientUserData
in interface javax.batch.runtime.context.StepContext
public void setExitStatus(String status)
setExitStatus
in interface javax.batch.runtime.context.StepContext
public void setBatchStatus(javax.batch.runtime.BatchStatus status)
public void setPersistentUserData(Serializable data)
setPersistentUserData
in interface javax.batch.runtime.context.StepContext
public void setTransientUserData(Object data)
setTransientUserData
in interface javax.batch.runtime.context.StepContext
public long getStepExecutionId()
getStepExecutionId
in interface javax.batch.runtime.context.StepContext
public 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 © 2017 The Apache Software Foundation. All rights reserved.