com.ibm.batch.container.context.impl
Class JobContextImpl<T>

java.lang.Object
  extended by com.ibm.batch.container.context.impl.JobContextImpl<T>
All Implemented Interfaces:
BatchContext<T>, JobContext<T>

public class JobContextImpl<T>
extends Object
implements JobContext<T>


Constructor Summary
JobContextImpl(JobContextImpl<T> jobContext)
           
JobContextImpl(String id)
           
 
Method Summary
 List<FlowContext<T>> getBatchContexts()
           
 String getBatchStatus()
           
 long getExecutionId()
           
 String getExitStatus()
           
 String getId()
           
 long getInstanceId()
           
 Properties getProperties()
           
 T getTransientUserData()
           
 void setBatchStatus(String batchStatus)
           
 void setExitStatus(String exitStatus)
           
 void setTransientUserData(T data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobContextImpl

public JobContextImpl(String id)

JobContextImpl

public JobContextImpl(JobContextImpl<T> jobContext)
Method Detail

getExitStatus

public String getExitStatus()
Specified by:
getExitStatus in interface BatchContext<T>
Specified by:
getExitStatus in interface JobContext<T>

setExitStatus

public void setExitStatus(String exitStatus)
Specified by:
setExitStatus in interface BatchContext<T>
Specified by:
setExitStatus in interface JobContext<T>

getId

public String getId()
Specified by:
getId in interface BatchContext<T>

getBatchStatus

public String getBatchStatus()
Specified by:
getBatchStatus in interface BatchContext<T>

setBatchStatus

public void setBatchStatus(String batchStatus)

getTransientUserData

public T getTransientUserData()
Specified by:
getTransientUserData in interface BatchContext<T>

getProperties

public Properties getProperties()
Specified by:
getProperties in interface JobContext<T>

setTransientUserData

public void setTransientUserData(T data)
Specified by:
setTransientUserData in interface BatchContext<T>

getExecutionId

public long getExecutionId()
Specified by:
getExecutionId in interface JobContext<T>

getInstanceId

public long getInstanceId()
Specified by:
getInstanceId in interface JobContext<T>

getBatchContexts

public List<FlowContext<T>> getBatchContexts()
Specified by:
getBatchContexts in interface BatchContext<T>


Copyright © 2013. All Rights Reserved.