|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JobID | |
|---|---|
| com.sap.scheduler.api | |
| com.sap.scheduler.runtime | |
| Uses of JobID in com.sap.scheduler.api |
|---|
| Methods in com.sap.scheduler.api with parameters of type JobID | |
|---|---|
void |
Scheduler.cancelJob(JobID jobid)
This method cancels a job. |
Job[] |
Scheduler.getChildJobs(JobID jobid)
Get all child jobs for a given job id. |
Job |
Scheduler.getJob(JobID jobid)
This method returns a job for a given job id jobid. |
LogIterator |
Scheduler.getJobLog(JobID jobId,
LogIterator it,
int fetchSize)
This method will return the log for the given job in chunks. |
JobParameter[] |
Scheduler.getJobParameters(JobID jobid)
This method returns all parameters for a given job id jobid. |
Job[] |
Scheduler.getJobs(JobID[] jobid)
This method returns the jobs for given job ids. |
JobStatus |
Scheduler.getJobStatus(JobID jobid)
Returns the status of a job. |
boolean |
Scheduler.hasChildJobs(JobID jobid)
Returns true if this job has child jobs. |
void |
Scheduler.removeJob(JobID jobid)
This method removes all information about this job instance from the NetWeaver Scheduler (including logs). |
void |
Scheduler.removeJobs(JobID[] jobids)
This method removes all information for the given job instances from the NetWeaver Scheduler (including logs). |
| Uses of JobID in com.sap.scheduler.runtime |
|---|
| Methods in com.sap.scheduler.runtime that return JobID | |
|---|---|
JobID |
JobContext.executeJob(JobDefinitionID jobDefId)
Submit a job for immediate execution. |
JobID |
JobContext.executeJob(JobDefinitionID jobDefId,
JobParameter[] parameters)
Submit a job for immediate execution. |
JobID |
JobContext.executeJob(String jobDefinitionName)
Submit a job for immediate execution. |
JobID |
JobContext.executeJob(String jobDefinitionName,
JobParameter[] parameters)
Submit a job for immediate execution. |
JobID |
Job.getId()
Get the job id (unique identifier). |
JobID |
JobIterator.StateDescriptor.getJobId()
|
JobID |
JobFilter.getJobId()
|
JobID |
Job.getParent()
Get the parent job, or null if it has no parent. |
JobID |
JobFilter.getParentId()
|
static JobID |
JobID.newID()
Creates a new JobID instance that represent a new guid. |
static JobID |
JobID.parseID(byte[] byteGUID)
Reconstructs a JobID instance from a byte[] representation of a guid. |
static JobID |
JobID.parseID(String stringGUID)
Reconstructs a JobID instance from a string representation. |
| Methods in com.sap.scheduler.runtime with parameters of type JobID | |
|---|---|
Job |
JobContext.getChildJobById(JobID jobId)
Get an existing job instance by its job id. |
void |
Job.setId(JobID id)
Deprecated. use the constructor |
void |
JobIterator.StateDescriptor.setJobId(JobID id)
|
void |
JobFilter.setJobId(JobID id)
Selects the specified job. |
void |
Job.setParent(JobID parent)
Deprecated. use the constructor |
void |
JobFilter.setParentId(JobID parentID)
Selects all jobs which are children of the specified parent job |
void |
JobContext.waitForChildJobs(JobID[] jobs)
Wait for the specified child jobs to wait for. |
boolean |
JobContext.waitForChildJobs(JobID[] jobs,
long timeout)
Wait for the specified child jobs to complete. |
| Constructors in com.sap.scheduler.runtime with parameters of type JobID | |
|---|---|
Job(JobID id,
JobDefinitionID defID,
SchedulerID schedID,
String name,
JobStatus status,
Date startDate,
Date endDate,
Date submitTime,
String node,
short returnCode,
String userID,
JobID parent,
String vendorData,
boolean cancelRequest,
int retentionPeriod)
Deprecated. Please use Job.Job(JobID, JobDefinitionID, SchedulerID, String, JobStatus, Date, Date, Date, String, short, String, JobID, String, boolean, int, SchedulerTaskID) instead |
|
Job(JobID id,
JobDefinitionID defID,
SchedulerID schedID,
String name,
JobStatus status,
Date startDate,
Date endDate,
Date submitTime,
String node,
short returnCode,
String userID,
JobID parent,
String vendorData,
boolean cancelRequest,
int retentionPeriod,
SchedulerTaskID schedTaskID)
Create a new job object from the parameters provided. |
|
Job(JobID id,
JobDefinitionID defID,
SchedulerID schedID,
String name,
JobStatus status,
Date startDate,
Date endDate,
Date submitTime,
String node,
short returnCode,
String userID,
JobID parent,
String vendorData,
boolean cancelRequest,
int retentionPeriod,
SchedulerTaskID schedTaskID,
long cpuTime,
long memoryAllocation)
Create a new job object from the parameters provided. |
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||