Uses of Interface
com.redwood.scheduler.api.model.Job
-
Packages that use Job Package Description com.redwood.scheduler.api.job Scheduler API - Interfaces for user defined jobs.com.redwood.scheduler.api.model Scheduler API - Modelcom.redwood.scheduler.api.model.compatibility_14 com.redwood.scheduler.api.r2w.publish -
-
Uses of Job in com.redwood.scheduler.api.job
Methods in com.redwood.scheduler.api.job that return types with arguments of type Job Modifier and Type Method Description default Iterable<Job>UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXProducer producer)Loop over the next step in the current job chain.default Iterable<Job>UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXProducer producer, String jobDescription)Loop over the next step in the current job chain.default Iterable<Job>UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXProducer producer, Predicate<RTXRow> filter)Loop over the next step in the current job chain.Iterable<Job>UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXProducer producer, Predicate<RTXRow> filter, String jobDescription)Loop over the next step in the current job chain.default Iterable<Job>UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXReader reader)default Iterable<Job>UserJobContext. loopOverNextJobChainStep(SchedulerSession session, RTXReader reader, Predicate<RTXRow> filter)Methods in com.redwood.scheduler.api.job with parameters of type Job Modifier and Type Method Description voidUserJobContext. killJobWithParent(Job job)When this method is called, the child jobs will be killed when the given parent job is killed (the default is not).voidUserJobContext. waitForJob(SchedulerSession session, Job job)Wait for another job to finish.voidUserJobContext. waitForJobs(SchedulerSession session, Job[] jobs)Wait for all the specified jobs to finish.voidUserJobContext. waitForJobs(SchedulerSession session, Job[] jobs, JobStatus[] statuses, long maxWait)Wait for jobs to reach the specified statuses, with a maximum wait time. -
Uses of Job in com.redwood.scheduler.api.model
Fields in com.redwood.scheduler.api.model with type parameters of type Job Modifier and Type Field Description static QueryObjectType<Job>Job. TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).Methods in com.redwood.scheduler.api.model that return Job Modifier and Type Method Description JobJobLock. getHeldByJob()Get the value for HeldByJob.JobForecastJob. getJob()Get the Job.JobJobDatum. getJob()Get the Job.JobJobFile. getJob()Get the Job.JobJobJobLock. getJob()Get the Job.JobJobNote. getJob()Get the Job.JobJobParameter. getJob()Get the Job.JobJobRaiseEvent. getJob()Get the Job.JobJobRuntimeLimit. getJob()Get the Job.JobJobWaitEvent. getJob()Get the Job.JobPublishApproval. getJob()Get the Job.JobUserMessage. getJob()Get the Job.JobWrappedJob. getJob()Get the value for Job.static JobBusinessKeyLookup. getJobByBusinessKey(SchedulerSession session, String key)Query an instance ofJob, based on its business key.JobSchedulerSession. getJobByJobId(Long jobId)Get theJobby JobId.JobBusinessKeyResolver. getJobByKey(BusinessKey key)Query an instance ofJob, based on its business key.JobSchedulerSession. getJobByRemoteIdentifiers(String remoteSystem, String remoteId)Get theJobby RemoteIdentifiers.JobSchedulerSession. getJobByUniqueId(Long uniqueId)Get theJobby UniqueId.JobJob. getNextStepJob()Get the next step job.
This method can be called from a job that corresponds to a step or a call.JobJob. getParentJob()Get the ParentJob.JobJob. getPreviousStepJob()Get the previous step job.
This method can be called from a job that corresponds to a step or a call.JobJob. getRelativeJob(String jobName)Get the job by name of the job in the current job chain.JobWrappedJob. getWrappedJob()Get the WrappedJob.JobJobDefinition. prepare()Prepare a job based on this job definition for submission.JobJob. restart()Restart the job by submitting a new job with the same parameters.JobJob. restartFromError()Restart the job, skipping the completed child jobs, to continue with the first error job.JobJob. restartRecurrence()Restart the job group by submitting a new job group with the same parameters.JobJob. resubmit()Prepare a new job with the same parameters, but clear the recurrence attributes.JobJob. resubmitRecurrence()Prepare a new job with the same parameters, including all recurrence attributes.Methods in com.redwood.scheduler.api.model that return types with arguments of type Job Modifier and Type Method Description RWIterable<Job>Job. getChildJobs()Get anRWIterableover a collection ofChildJobs, the collection will be ordered by ChildOrder.List<Job>Job. getExpandedJobList()Returns a list of this job and its children that are to be shown in an expanded state; in general this is during the execution phase of a job.RWIterable<Job>Job. getRecurrenceJobs()Return an iterator with all jobs in the recurrence for this job, including this.Methods in com.redwood.scheduler.api.model with parameters of type Job Modifier and Type Method Description voidEventDefinition. clear(Job job, String clearerComment)Clear the currently raised Event instance for this EventDefinition.voidEventDefinition. clearAllPending(Job job, String clearerComment)Clear all the pending events for this EventDefinition.JobJobLockJobLock. createJobJobLock(Job newJob)Create a newJobJobLocklinked to this object.static FormatFileFormatFinder. getDefaultJobFileFormat(SchedulerSession session, Job job, JobFileType fileType, String jobFileName, Long fileOrder)Get the fileFormat for this kind of output file.SAPProcessRestartSAPProcessDefinition. getSAPProcessRestartByJob(Job job)Get the SAPProcessRestart by JobSAPProcessDefinition.voidAbstractConcreteObjectCallback. handle(Job theJob)voidConcreteObjectCallback. handle(Job theJob)booleanService. isExplainJobStatusPossible(Job job)Is explainJobStatus possible? Returns true if explainJobStatus() is possible, false otherwise.EventEventDefinition. raise(Job job, String raiserComment)Raise an Event instance for this EventDefinition.voidJobLock. setHeldByJob(Job newHeldByJob)Set the value for HeldByJob.voidForecastJob. setJob(Job newJob)Set the value for Job.voidPublishApproval. setJob(Job newJob)Set the value for Job.voidUserMessage. setJob(Job newJob)Set the value for Job.voidJobChainCallOutParameter. setJobParameter(Job job)Perform the required processing to set the target job parameter.voidJob. setParentJob(Job newParentJob)Set the value for ParentJob.voidSchedulerSession. waitForAllChildren(Job job)Wait for all children of this job to finish.voidSchedulerSession. waitForAllChildren(Job job, long maxWait)Wait for all children of this job to finish.voidSchedulerSession. waitForJob(Job job)Wait for given job to finish.voidSchedulerSession. waitForJob(Job job, long maxWait)Wait for given job to finish.voidSchedulerSession. waitForJob(Job job, JobStatus status)Wait for jobs to reach the specified statuses, with unlimited time.voidSchedulerSession. waitForJob(Job job, JobStatus status, long maxWait)Similar asSchedulerSession.waitForJob(Job, JobStatus), except a maxWait is specified.voidSchedulerSession. waitForJobs(Job[] jobs)Wait for all given jobs to finish.voidSchedulerSession. waitForJobs(Job[] jobs, long maxWait)Wait for all given jobs to finish.voidSchedulerSession. waitForJobs(Job[] jobs, JobStatus[] statuses, long maxWait)Wait for jobs to reach the specified statuses, with a maximum wait time.JobFileExporter. writeToNewJobFile(Job job)Export marked objects to a local job file that will be attached to the supplied job. -
Uses of Job in com.redwood.scheduler.api.model.compatibility_14
Methods in com.redwood.scheduler.api.model.compatibility_14 that return types with arguments of type Job Modifier and Type Method Description Iterator<Job>JobComp. getChildJobs()Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, usegetChildJobs()instead.Iterator<Job>JobComp. getRecurrenceJobs()Deprecated.this method should never be used directly, and is only provided to ensure binary compatibility with previous releases of the software, usegetRecurrenceJobs()instead. -
Uses of Job in com.redwood.scheduler.api.r2w.publish
Methods in com.redwood.scheduler.api.r2w.publish with parameters of type Job Modifier and Type Method Description R2WMetaDataR2WPublisher. createMetaData(Job context)Create the MetaData for the publishing
-