Interface XbpJob
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfirmGenerally()Confirm this job generallyvoidconfirmSpecifically()Confirm this job specificallyIterator<XbpJob>getChildJobs(XbpJobSelectionOption option)Get the children of the job.StringgetClient()Get the client number of the jobDateTimeZonegetCreationTime()Creation time and date of the job TBTCO fields: SDLDATE / SDLTIMEStringgetCreatorUser()Creation user of the job TBTCO field: SDLUNAMEDateTimeZonegetEndTime()End time and date of the job TBTCO fields: ENDDATE / ENDTIMEStringgetEventId()Get the batch event idStringgetEventParameter()Get the batch event parameterStringgetJobclass()Get the class (A, B, C) of the jobStringgetJobcount()Get the id of the job aka jobcountStringgetJobgroup()Get the group of the jobIterator<TableRow>getJoblog()Get joblog of the jobStringgetJobname()Get the name of the jobDateTimeZonegetModificationTime()Last modification time and date of the job TBTCO fields: LASTCHDATE / LASTCHTIMEStringgetModifierUser()User who has modified the job TBTCO field: LASTCHNAMEintgetNumberOfSteps()Get the number of steps of this jobXbpJobgetParentJob()Get the parent of the job.DateTimeZonegetReleaseTime()Release time and date of the job TBTCO fields: RELDATE / RELTIMEStringgetReleaseUser()Release user of the job TBTCO field: RELUNAMEDateTimeZonegetScheduledStartTime()Scheduled start time and date of the job TBTCO fields: SDLSTRTDT / SDLSTRTTMDateTimeZonegetStartTime()Start time and date of the job TBTCO fields: STRTDATE / STRTTIMESapBatchJobStatusgetStatus()Get the status of the jobXbpJobStepgetStep(int stepNumber)Get the specified step of the job.Iterator<XbpJobStep>getSteps()Get the steps of the jobbooleanisPeriodic()Check if this is a periodic jobvoidkill()Kill the SAP job
-
-
-
Method Detail
-
getJobname
String getJobname()
Get the name of the job- Returns:
- job name
-
getJobcount
String getJobcount()
Get the id of the job aka jobcount- Returns:
- job ID aka jobcount
-
getStatus
SapBatchJobStatus getStatus()
Get the status of the job- Returns:
- status of the job, or
nullif the status of the job is not known
-
getJobgroup
String getJobgroup()
Get the group of the job- Returns:
- job group
-
getJobclass
String getJobclass()
Get the class (A, B, C) of the job- Returns:
- job class
-
getClient
String getClient()
Get the client number of the job- Returns:
- job client
-
getEventId
String getEventId()
Get the batch event id- Returns:
- event id
-
getEventParameter
String getEventParameter()
Get the batch event parameter- Returns:
- event parameter
-
isPeriodic
boolean isPeriodic()
Check if this is a periodic job- Returns:
trueif the job is periodic,falseotherwise
-
getCreationTime
DateTimeZone getCreationTime()
Creation time and date of the job TBTCO fields: SDLDATE / SDLTIME- Returns:
- creation time
-
getCreatorUser
String getCreatorUser()
Creation user of the job TBTCO field: SDLUNAME- Returns:
- creation user
-
getScheduledStartTime
DateTimeZone getScheduledStartTime()
Scheduled start time and date of the job TBTCO fields: SDLSTRTDT / SDLSTRTTM- Returns:
- scheduled start time
-
getStartTime
DateTimeZone getStartTime()
Start time and date of the job TBTCO fields: STRTDATE / STRTTIME- Returns:
- start time
-
getEndTime
DateTimeZone getEndTime()
End time and date of the job TBTCO fields: ENDDATE / ENDTIME- Returns:
- end time
-
getReleaseTime
DateTimeZone getReleaseTime()
Release time and date of the job TBTCO fields: RELDATE / RELTIME- Returns:
- release time
-
getReleaseUser
String getReleaseUser()
Release user of the job TBTCO field: RELUNAME- Returns:
- release user
-
getModificationTime
DateTimeZone getModificationTime()
Last modification time and date of the job TBTCO fields: LASTCHDATE / LASTCHTIME- Returns:
- last modification time
-
getModifierUser
String getModifierUser()
User who has modified the job TBTCO field: LASTCHNAME- Returns:
- modifier user
-
kill
void kill()
Kill the SAP job
-
getStep
XbpJobStep getStep(int stepNumber)
Get the specified step of the job. Steps are counted from 1.- Parameters:
stepNumber- number of the step- Returns:
XbpJobStepof the job
-
getSteps
Iterator<XbpJobStep> getSteps()
Get the steps of the job- Returns:
Iteratorwith theXbpJobStepsteps
-
getNumberOfSteps
int getNumberOfSteps()
Get the number of steps of this job- Returns:
- number of steps
-
getParentJob
XbpJob getParentJob()
Get the parent of the job. Returnsnullif XBP 2.0 is not available, i.e. it is not required to explicitly check if XBP 2.0 is available before calling this method.- Returns:
XbpJobreference to the parent job, ornullif the job does not have a parent
-
getChildJobs
Iterator<XbpJob> getChildJobs(XbpJobSelectionOption option)
Get the children of the job. Returns an emptyIteratorif XBP 2.0 is not available, i.e. it is not required to explicitly check if XBP 2.0 is available before calling this method.
-
confirmGenerally
void confirmGenerally()
Confirm this job generally
-
confirmSpecifically
void confirmSpecifically()
Confirm this job specifically
-
-