Package | Description |
---|---|
de.larssh.jes |
Handling of z/OS JES spools using Java technologies
|
de.larssh.jes.parser |
JES implementation of
FTPFileEntryParser |
Modifier and Type | Method and Description |
---|---|
Job |
JobOutput.getJob()
Corresponding
Job |
Job |
JesClient.submit(String jclContent)
Submits the given JCL and returns a related
Job object containing the
started jobs ID. |
Modifier and Type | Method and Description |
---|---|
Optional<Job> |
JesClient.getJobDetails(Job job)
Retrieves up-to-date job details for
job . |
List<Job> |
JesLimitReachedException.getJobs()
List of jobs up to the limit
|
List<Job> |
JesClient.list(String nameFilter)
Returns a list of all job IDs boxed into
Job objects matching the
given filters. |
List<Job> |
JesClient.list(String nameFilter,
JobStatus status)
Returns a list of all job IDs boxed into
Job objects matching the
given filters. |
List<Job> |
JesClient.list(String nameFilter,
JobStatus status,
String ownerFilter)
Returns a list of all job IDs boxed into
Job objects matching the
given filters. |
List<Job> |
JesClient.list(String nameFilter,
JobStatus status,
String ownerFilter,
int limit)
Returns a list of all job IDs boxed into
Job objects matching the
given filters. |
List<Job> |
JesClient.listFilled(String nameFilter)
Returns a list of all
Job objects matching the given filters. |
List<Job> |
JesClient.listFilled(String nameFilter,
JobStatus status)
Returns a list of all
Job objects matching the given filters. |
List<Job> |
JesClient.listFilled(String nameFilter,
JobStatus status,
String ownerFilter)
Returns a list of all
Job objects matching the given filters. |
List<Job> |
JesClient.listFilled(String nameFilter,
JobStatus status,
String ownerFilter,
int limit)
Returns a list of all
Job objects matching the given filters. |
protected List<Job> |
JesClient.throwIfLimitReached(int limit,
List<Job> jobs)
In case the last FTP responses string contains the spool entries limit
warning, a
JesLimitReachedException is thrown, else jobs are
returned. |
Modifier and Type | Method and Description |
---|---|
void |
JesClient.delete(Job job)
Removes a given
job from JES spool. |
boolean |
JesClient.exists(Job job,
JobStatus status)
Reloads the job from server and returns
true if the job is still
available and matches the given job status. |
Optional<Job> |
JesClient.getJobDetails(Job job)
Retrieves up-to-date job details for
job . |
Map<JobOutput,String> |
JesClient.retrieveOutputs(Job job)
Retrieves all job outputs of
job . |
boolean |
JesClient.waitFor(Job job,
Duration waiting,
Duration timeout)
Waits for
job to be finished using Thread#sleep(long) for
waiting between JesClient.exists(Job, JobStatus) calls and timing out after a
given duration. |
boolean |
JesClient.waitFor(Job job,
Duration waiting,
Duration timeout,
Consumer<Duration> wait)
Waits for
job to be finished using wait for waiting between
JesClient.exists(Job, JobStatus) calls and timing out after a given duration. |
Modifier and Type | Method and Description |
---|---|
protected List<Job> |
JesClient.throwIfLimitReached(int limit,
List<Job> jobs)
In case the last FTP responses string contains the spool entries limit
warning, a
JesLimitReachedException is thrown, else jobs are
returned. |
Constructor and Description |
---|
JobOutput(Job job,
int index,
String name,
int length,
Optional<String> step,
Optional<String> procedureStep,
Optional<String> outputClass)
This constructor creates a
JobOutput . |
Constructor and Description |
---|
JesLimitReachedException(int limit,
List<Job> jobs,
org.apache.commons.net.ftp.FTPClient ftpClient)
Constructs a new
JesLimitReachedException with a default detail
message and a given list of jobs up to the limit of spool entries. |
Modifier and Type | Method and Description |
---|---|
Job |
JesFtpFile.getJob()
Job details
|
Constructor and Description |
---|
JesFtpFile(Job job,
String rawListing)
Creates a file containing a
Job object and sets the original FTP
server raw listing from which the job was created. |
Copyright © 2025. All rights reserved.