public interface IJob
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cancel(org.eclipse.core.runtime.IProgressMonitor pMon)
Cancels a running job.
|
boolean |
endedWithError()
Gets whether the job has finished with errors.
|
java.lang.String |
getCompletionCode()
Gets the job completion code (CC)
|
java.lang.String |
getCompletionInfo()
Gets the job completion info
|
java.io.InputStream |
getContents(org.eclipse.core.runtime.IProgressMonitor pMon)
Deprecated.
Use
getJobOutput(IProgressMonitor) instead. |
java.util.Date |
getEndTime()
Gets the job's end time.
|
java.util.Date |
getExecutionTime()
Gets the job's execution time.
|
java.lang.String |
getFullDsn()
Gets the job name and ID.
|
java.util.Date |
getInputTime()
Gets the job's input time.
|
java.lang.String |
getJobClass()
Gets the job class.
|
java.lang.String |
getJobID()
Gets the job ID.
|
java.lang.String |
getJobOutput(org.eclipse.core.runtime.IProgressMonitor pMon)
Gets the job output.
|
java.lang.String |
getName()
Gets the job name.
|
java.lang.String |
getOwner()
Gets the job owner user ID.
|
JobPhase |
getPhase()
Gets the job phase.
|
int |
getPosition()
Gets the job position.
|
int |
getPriority()
Gets the job priority.
|
EJobState |
getState()
Gets the job state.
|
ISystemImage |
getSystemImage()
Gets the system image to which the job belongs.
|
java.lang.String |
getType()
Gets the JES job type.
|
boolean |
isFinished() |
void |
setClass(java.lang.String pClass)
Sets the job class.
|
void |
setCompletionCode(java.lang.String pCC)
Sets the completion code
|
void |
setCompletionInfo(java.lang.String pCompletionInfo)
Sets the completion info (CC info)
|
void |
setJobID(java.lang.String pID)
Sets the job ID.
|
void |
setName(java.lang.String pName)
Sets the job name.
|
void |
setOwner(java.lang.String pOwner)
Sets the job owner user ID.
|
void |
setPhase(JobPhase pPhase)
Sets the job phase.
|
void |
setPos(int pPos)
Sets the job position.
|
void |
setPriority(int pPriority)
Sets the job priority.
|
void |
setState(EJobState pState)
Sets the job state.
|
void |
setType(java.lang.String pType)
Sets the job type.
|
ISystemImage getSystemImage()
void setJobID(java.lang.String pID)
pID - the job ID to setjava.lang.String getName()
java.lang.String getFullDsn()
java.lang.String getJobID()
java.lang.String getOwner()
java.lang.String getType()
java.lang.String getJobClass()
java.lang.String getCompletionCode()
java.lang.String getCompletionInfo()
void setCompletionCode(java.lang.String pCC)
pCC - the completion code to setvoid setCompletionInfo(java.lang.String pCompletionInfo)
pCompletionInfo - the completion info to setint getPriority()
int getPosition()
JobPhase getPhase()
void setOwner(java.lang.String pOwner)
pOwner - the job owner to setvoid setName(java.lang.String pName)
pName - the job name to setvoid setType(java.lang.String pType)
pType - the job type to setvoid setClass(java.lang.String pClass)
pClass - the job class to setvoid setPriority(int pPriority)
pPriority - the priority to setvoid setPos(int pPos)
pPos - the position to setvoid setPhase(JobPhase pPhase)
pPhase - the phase to setEJobState getState()
void setState(EJobState pState)
pState - the job state to setboolean endedWithError()
true if the job has finished with errors,
false if it hasn't finished, or finished without
errorsboolean isFinished()
true if the job is finished (possibly with errors)java.lang.String cancel(org.eclipse.core.runtime.IProgressMonitor pMon)
throws java.lang.Exception
pMon - progress monitornulljava.lang.Exception - if canceling the job failed@Deprecated
java.io.InputStream getContents(org.eclipse.core.runtime.IProgressMonitor pMon)
throws java.lang.Exception
getJobOutput(IProgressMonitor) instead.pMon - progress monitorjava.lang.Exception - if getting the job output failedjava.lang.String getJobOutput(org.eclipse.core.runtime.IProgressMonitor pMon)
throws java.io.IOException
pMon - progress monitorjava.io.IOException - if getting the job output failedjava.util.Date getInputTime()
null if if wasn't set or returned by the serverjava.util.Date getExecutionTime()
null if if wasn't set or returned by the serverjava.util.Date getEndTime()
null if if wasn't set or returned by the serverCopyright © 2015 Micro Focus GmbH. All rights reserved.