public interface IJobFacility2
Replacement of IJobFacility with improved method signatures and
return types.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILTER_JOB_OWNER
Job owner filter.
|
static java.lang.String |
FILTER_JOB_PHASE_CODE
Job phase code filter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cancelJob(ISystemImage pImg,
java.lang.String pJobId,
org.eclipse.core.runtime.IProgressMonitor pMon)
Cancels a running job.
|
java.lang.String |
getJobContents(ISystemImage pImg,
java.lang.String pJobId,
org.eclipse.core.runtime.IProgressMonitor pMon)
Returns the output of a job.
|
java.lang.String |
getJobContents(ISystemImage pImg,
java.lang.String pJobId,
java.lang.String pDDName,
java.lang.String pJobPartDsn,
org.eclipse.core.runtime.IProgressMonitor pMon)
Returns the output of a job part.
|
java.util.List<IJobPart> |
getJobDDs(ISystemImage pImg,
IJob pJob,
org.eclipse.core.runtime.IProgressMonitor pMon)
Obtains a list of
IJobParts for the given job ID. |
java.util.List<IJob> |
getJobs(ISystemImage pImg,
java.lang.String pJobNameFilter,
java.util.Map<java.lang.String,java.lang.String> pAdditionalFilters,
org.eclipse.core.runtime.IProgressMonitor pMon)
Returns all jobs that match the given filter criteria.
|
java.util.List<IJob> |
getJobsByJobID(ISystemImage pImg,
java.lang.String pJobIDFilter,
java.util.Map<java.lang.String,java.lang.String> pAdditionalFilters,
org.eclipse.core.runtime.IProgressMonitor pMon)
Returns all jobs that match the given filter criteria.
|
java.lang.String |
purgeJob(ISystemImage pImg,
java.lang.String pJobId,
org.eclipse.core.runtime.IProgressMonitor pMon)
Purges a job on the mainframe.
|
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 pMember,
java.lang.String pDataset,
org.eclipse.core.runtime.IProgressMonitor pMon)
Submits a job from a data set or member.
|
static final java.lang.String FILTER_JOB_OWNER
static final java.lang.String FILTER_JOB_PHASE_CODE
java.util.List<java.lang.String> submitJob(ISystemImage pImg, java.lang.String pMember, java.lang.String pDataset, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
pImg - an ISystemImagepMember - can be null (for sequential data sets)pDataset - a data set namepMon - progress monitorjava.io.IOException - if the job submit or parsing the server response failedjava.util.List<IJob> getJobs(ISystemImage pImg, java.lang.String pJobNameFilter, java.util.Map<java.lang.String,java.lang.String> pAdditionalFilters, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
pImg - an ISystemImagepJobNameFilter - 1-8 characters, * and ? allowedpAdditionalFilters - a map of additional filters. Keys should be filter constants of this interface. A server implementation may not support all
filter constants or even different ones. Can be null.pMon - progress monitorIJobs (can be empty)java.io.IOException - if an Exception occurs during sending the command or parsing
the responsejava.util.List<IJob> getJobsByJobID(ISystemImage pImg, java.lang.String pJobIDFilter, java.util.Map<java.lang.String,java.lang.String> pAdditionalFilters, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
pImg - an ISystemImagepJobIDFilter - 1-8 characters, * and ? allowedpAdditionalFilters - a map of additional filters. Keys should be filter constants of this interface. A server implementation may not support all
filter constants or even different ones. Can be null.pMon - progress monitorIJobs (can be empty)java.io.IOException - if an Exception occurs during sending the command or parsing
the responsejava.lang.String getJobContents(ISystemImage pImg, java.lang.String pJobId, java.lang.String pDDName, java.lang.String pJobPartDsn, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
pImg - an ISystemImagepJobId - the ID of an existing jobpDDName - the DDName (job part name) of the desired job partpJobPartDsn - the DSN of the desired job part. Optional, if a unique DDName
is givenpMon - progress monitorjava.io.IOException - if an Exception occurs during sending the command or parsing
the responsegetJobContents(ISystemImage, String, IProgressMonitor)java.lang.String getJobContents(ISystemImage pImg, java.lang.String pJobId, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
pImg - an ISystemImagepJobId - the ID of an existing jobpMon - progress monitorjava.io.IOException - if an Exception occurs during sending the command or parsing
the responsejava.lang.String cancelJob(ISystemImage pImg, java.lang.String pJobId, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
pImg - an ISystemImagepJobId - the ID of a running jobpMon - progress monitornull if the server
doesn't return any messagejava.io.IOException - if an Exception occurs during sending the command or parsing
the responsejava.lang.String purgeJob(ISystemImage pImg, java.lang.String pJobId, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
pImg - an ISystemImagepJobId - the ID of the job to purgepMon - progress monitornull if the server does
not return any messagejava.io.IOException - if any unexpected exception occursjava.util.List<IJobPart> getJobDDs(ISystemImage pImg, IJob pJob, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
IJobParts for the given job ID.pImg - an ISystemImagepJob - the existing jobpMon - progress monitorIJobParts (can be empty)java.io.IOException - if an Exception occurs during sending the command or parsing
the responsejava.util.List<java.lang.String> submitJob(ISystemImage pImg, java.lang.String pJcl, org.eclipse.core.runtime.IProgressMonitor pMon) throws java.io.IOException
pImg - The ISystemImagepJcl - the JCL contents to submitpMon - progress monitorjava.io.IOException - if an Exception occurs during sending the commandCopyright © 2015 Micro Focus GmbH. All rights reserved.