public interface ITaurusJobUtilities
This interfaces is NOT intended to be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getJobContents(ISystemImage pImg,
ITaurusJob pJob,
org.eclipse.core.runtime.IProgressMonitor pMon)
Deprecated.
|
java.lang.String |
getJobOutput(ISystemImage pImg,
ITaurusJob pJob,
org.eclipse.core.runtime.IProgressMonitor pMon)
Get the complete content of the given job.
|
java.io.InputStream |
getJobPartContents(ISystemImage pImg,
ITaurusJob pJob,
java.lang.String pPartID,
org.eclipse.core.runtime.IProgressMonitor pMon)
Deprecated.
|
java.lang.String |
getJobPartOutput(ISystemImage pImg,
ITaurusJob pJob,
java.lang.String pPartID,
org.eclipse.core.runtime.IProgressMonitor pMon)
Get the content of the job part with the given part id of the given job.
|
java.util.List<java.lang.String> |
getJobParts(ISystemImage pImg,
ITaurusJob pJob,
org.eclipse.core.runtime.IProgressMonitor pMon)
Get a list of the parts of the job with the given job id.
|
java.lang.String |
getJobReturnCode(ISystemImage pImg,
ITaurusJob pJob)
Get the return code of the job.
|
java.lang.String |
getJobReturnCode(ITaurusJob pJob)
Deprecated.
contains dependencies to a loaded work flow manager
application. Please use
getJobReturnCode(ISystemImage, ITaurusJob) instead. |
boolean |
hasJobFinished(ISystemImage pImg,
ITaurusJob pJob,
org.eclipse.core.runtime.IProgressMonitor pMon)
Obtains job information and returns whether the job has finished running.
|
boolean |
isConnected()
Deprecated.
contains dependencies to a loaded work flow manager
application. Please use
isConnected(ISystemImage)
instead. |
boolean |
isConnected(ISystemImage pImg)
Check if the associated job system is connected.
|
java.util.List<ITaurusJob> |
listAllJobs(ISystemImage pImg,
org.eclipse.core.runtime.IProgressMonitor pMon)
Retrieves all jobs from the implemented subsystem.
|
void |
purgeJob(ISystemImage pImg,
java.lang.String pJobID,
org.eclipse.core.runtime.IProgressMonitor pMon)
Purges a job.
|
boolean |
refreshJob(ISystemImage pImg,
ITaurusJob pJob,
org.eclipse.core.runtime.IProgressMonitor pMon)
Obtains job information from the mainframe and updates the given
ITaurusJob accordingly. |
java.lang.String |
submitJob(ISystemImage pImg,
java.io.InputStream pIs,
org.eclipse.core.runtime.IProgressMonitor pMon)
Deprecated.
use
submitJob(ISystemImage, String, IProgressMonitor) instead. |
java.lang.String |
submitJob(ISystemImage pImg,
java.io.InputStream pIs,
ToolDescriptor pTool,
IExecutionContext pContext,
org.eclipse.core.runtime.IProgressMonitor pMon)
Deprecated.
|
java.util.List<java.lang.String> |
submitJob(ISystemImage pImg,
java.lang.String pJcl,
org.eclipse.core.runtime.IProgressMonitor pMon)
Submits a Job from the given input stream.
|
java.util.List<java.lang.String> |
submitJob(ISystemImage pImg,
java.lang.String pJcl,
ToolDescriptor pTool,
IExecutionContext pContext,
org.eclipse.core.runtime.IProgressMonitor pMon)
Submits a job from the given input stream passing the current tool.
|
@Deprecated java.io.InputStream getJobContents(ISystemImage pImg, ITaurusJob pJob, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
getJobOutput(ISystemImage, ITaurusJob, IProgressMonitor) insteadpImg - the system image.pJob - the job.pMon - an IProgressMonitor or NullProgressMonitorTaurusCoreException - if an Exception occurs during sending the command or parsing
the responsejava.lang.String getJobOutput(ISystemImage pImg, ITaurusJob pJob, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pImg - the system image.pJob - the job.pMon - an IProgressMonitor or NullProgressMonitorTaurusCoreException - if an Exception occurs during sending the command or parsing
the response@Deprecated java.io.InputStream getJobPartContents(ISystemImage pImg, ITaurusJob pJob, java.lang.String pPartID, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
getJobPartOutput(ISystemImage, ITaurusJob, String, IProgressMonitor) instead.pImg - the system image.pJob - the jobpPartID - id of the job partpMon - an IProgressMonitor or NullProgressMonitorTaurusCoreException - if an Exception occurs during sending the command or parsing
the responsejava.lang.String getJobPartOutput(ISystemImage pImg, ITaurusJob pJob, java.lang.String pPartID, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pImg - the system image.pJob - the jobpPartID - id of the job partpMon - an IProgressMonitor or NullProgressMonitorTaurusCoreException - if an Exception occurs during sending the command or parsing
the responsejava.util.List<java.lang.String> getJobParts(ISystemImage pImg, ITaurusJob pJob, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pImg - the system image.pJob - the jobpMon - an IProgressMonitor or NullProgressMonitorTaurusCoreException - if an Exception occurs during sending the command or parsing
the response@Deprecated java.lang.String getJobReturnCode(ITaurusJob pJob) throws TaurusCoreException
getJobReturnCode(ISystemImage, ITaurusJob) instead.pJob - the JobTaurusCoreException - if an Exception occurs during sending the command or parsing
the responsejava.lang.String getJobReturnCode(ISystemImage pImg, ITaurusJob pJob) throws TaurusCoreException
pImg - the system image.pJob - the JobTaurusCoreException - if an Exception occurs during sending the command or parsing
the responseboolean hasJobFinished(ISystemImage pImg, ITaurusJob pJob, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
ITaurusJob:
pImg - the system image.pJob - the jobpMon - progress monitortrue, if the job has finished executing; otherwise
falseTaurusCoreException - if an exception occurs while initializing a job facility@Deprecated boolean isConnected()
isConnected(ISystemImage)
instead.true, if the associated job system is connected;
otherwise falseboolean isConnected(ISystemImage pImg)
pImg - the system image.true, if the associated job system is connected;
otherwise falsejava.util.List<ITaurusJob> listAllJobs(ISystemImage pImg, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pImg - the system imagepMon - progress monitorTaurusCoreException - if an exception occurs when connecting to the remote system
or reading the job list@Deprecated java.lang.String submitJob(ISystemImage pImg, java.io.InputStream pIs, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
submitJob(ISystemImage, String, IProgressMonitor) instead.pImg - the system image.pIs - the input stream, containing the JCLpMon - an IProgressmonitorTaurusCoreException - if an Exception occurs during sending the commandjava.util.List<java.lang.String> submitJob(ISystemImage pImg, java.lang.String pJcl, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pImg - the system image.pJcl - the JCL to submitpMon - an IProgressmonitorTaurusCoreException - if an Exception occurs during sending the command@Deprecated java.lang.String submitJob(ISystemImage pImg, java.io.InputStream pIs, ToolDescriptor pTool, IExecutionContext pContext, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
submitJob(ISystemImage, String, ToolDescriptor, IExecutionContext, IProgressMonitor) instead.pImg - the system imagepIs - the JCL to submitpTool - the current tool descriptorpContext - the current contextpMon - progress monitorTaurusCoreException - if an Exception occurs during sending the commandjava.util.List<java.lang.String> submitJob(ISystemImage pImg, java.lang.String pJcl, ToolDescriptor pTool, IExecutionContext pContext, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pImg - the system imagepJcl - pTool - the JCL to submit
the current tool descriptorpContext - the current contextpMon - progress monitorTaurusCoreException - if an Exception occurs during sending the commandvoid purgeJob(ISystemImage pImg, java.lang.String pJobID, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
pImg - the system imagepJobID - the job IDpMon - a progress monitorTaurusCoreException - if an Exception occurs during sending the commandboolean refreshJob(ISystemImage pImg, ITaurusJob pJob, org.eclipse.core.runtime.IProgressMonitor pMon) throws TaurusCoreException
ITaurusJob accordingly. At least the following fields will be updated:
pImg - the system imagepJob - the job to updatepMon - progress monitortrue, if the job exists and was successfully updated, false if the job doesn't exist (anymore) on the mainframeTaurusCoreException - if an unexpected exception occursCopyright © 2015 Micro Focus GmbH. All rights reserved.