public interface ITaurusJob extends IJob
ITaurusJobUtilities| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getActionLabel()
Gets the label of the action which scheduled the job.
|
java.lang.String |
getCacheID()
Gets the cache ID of the job.
|
java.util.Date |
getCreationTimeStamp()
Gets the local (OS) time from when the job was created.
|
IExecutionContext |
getExecutionContext()
Gets the execution context of the job.
|
java.lang.String |
getOutParmDSN()
Gets the output parameter file name which the job will use to write down
output parameters when finished.
|
IResource |
getResource()
Gets the resource where the job was executed from.
|
java.lang.String |
getReturnCode()
Gets the return code of the finished job.
|
ToolDescriptor |
getToolDescr()
Gets the tool descriptor which caused the job execution.
|
void |
setActionLabel(java.lang.String pLabel)
Sets the action label of the job.
|
void |
setCacheID(java.lang.String pID)
Deprecated.
do not use. The cache ID is now set internally.
|
void |
setCreationTimeStamp(java.util.Date pTimeStamp)
Sets the creation time stamp.
|
void |
setExecutionContext(IExecutionContext pContext)
Sets the execution context of the job.
|
void |
setJobID(java.lang.String pJobID)
Sets the job ID.
|
void |
setOutParmDSN(java.lang.String pDSN)
Sets the output parameter file name which the job will use to write down
output parameters when finished.
|
void |
setResource(IResource pRes)
Sets the resource where the job was executed from.
|
void |
setReturnCode(java.lang.String pCode)
Sets the return code of the job.
|
void |
setToolDescr(ToolDescriptor pDescr)
Sets the tool descriptor which caused the job execution.
|
void |
waitForJob()
Starts an eclipse background job waiting for the end of a TAURUS job
executing on the corresponding remote system.
|
cancel, endedWithError, getCompletionCode, getCompletionInfo, getContents, getEndTime, getExecutionTime, getFullDsn, getInputTime, getJobClass, getJobID, getJobOutput, getName, getOwner, getPhase, getPosition, getPriority, getState, getSystemImage, getType, isFinished, setClass, setCompletionCode, setCompletionInfo, setName, setOwner, setPhase, setPos, setPriority, setState, setTypevoid waitForJob()
throws TaurusCoreException
TaurusCoreException - if an exception occurs while waiting for the job to finish@Deprecated void setCacheID(java.lang.String pID)
pID - the new cache IDjava.lang.String getCacheID()
IResource getResource()
nullvoid setResource(IResource pRes)
pRes - the new context resourceToolDescriptor getToolDescr()
void setToolDescr(ToolDescriptor pDescr)
pDescr - the new tool descriptorjava.lang.String getReturnCode()
null if the job has never
finished properly or the return code has not been setvoid setReturnCode(java.lang.String pCode)
pCode - the new return codeIExecutionContext getExecutionContext()
void setExecutionContext(IExecutionContext pContext)
pContext - the new execution contextjava.lang.String getActionLabel()
void setActionLabel(java.lang.String pLabel)
pLabel - the new action labeljava.lang.String getOutParmDSN()
void setOutParmDSN(java.lang.String pDSN)
pDSN - the new output parameter file namevoid setJobID(java.lang.String pJobID)
IJobvoid setCreationTimeStamp(java.util.Date pTimeStamp)
pTimeStamp - the new local time stampgetCreationTimeStamp()java.util.Date getCreationTimeStamp()
Copyright © 2015 Micro Focus GmbH. All rights reserved.