Package dev.galasa.zosbatch
Interface IZosBatchJobOutput
- All Superinterfaces:
Iterable<IZosBatchJobOutputSpoolFile>
- All Known Subinterfaces:
IZosBatchJobOutputSpi
Represents a zOS Batch Job output
-
Method Summary
Modifier and TypeMethodDescriptiongetJobid()
Returns the zOS batch jobidReturns the zOS batch jobnameReturns the zOS batch job spool filesboolean
isEmpty()
Returns true if thisIZosBatchJobOutputSpoolFile
contains noIZosBatchJobOutput
int
size()
Returns the number ofIZosBatchJobOutputSpoolFile
elements in thisIZosBatchJobOutput
.toList()
Returns the zOS batch job spool files as aList
of spool filesMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getJobname
Returns the zOS batch jobname- Returns:
- jobname
- Throws:
ZosBatchException
-
getJobid
Returns the zOS batch jobid- Returns:
- jobid
- Throws:
ZosBatchException
-
getSpoolFiles
List<IZosBatchJobOutputSpoolFile> getSpoolFiles()Returns the zOS batch job spool files- Returns:
- An
List
ofIZosBatchJobOutputSpoolFile
-
toList
Returns the zOS batch job spool files as aList
of spool files- Returns:
- a of spool files
-
size
int size()Returns the number ofIZosBatchJobOutputSpoolFile
elements in thisIZosBatchJobOutput
. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.- Returns:
- the number of elements
-
isEmpty
boolean isEmpty()Returns true if thisIZosBatchJobOutputSpoolFile
contains noIZosBatchJobOutput
- Returns:
- true if empty
-