com.sap.scheduler.runtime

Class JobFilter

java.lang.Object
  extended by com.sap.scheduler.runtime.JobFilter
All Implemented Interfaces:
Serializable

public class JobFilter
extends Object
implements Serializable

This filter class is used for querying jobs. Setting no filters means that all jobs will be selected. Setting more than one filter means an an AND relationship between them.

See Also:
Serialized Form

Constructor Summary
JobFilter()
           
 
Method Summary
 Date getEndedFrom()
           
 Date getEndedTo()
           
 JobDefinitionID getJobDefinitionId()
           
 JobID getJobId()
           
 JobStatus getJobStatus()
           
 String getName()
           
 String getNode()
           
 JobID getParentId()
           
 Short getReturnCode()
           
 SchedulerID getScheduler()
           
 SchedulerTaskID getSchedulerTaskId()
           
 Date getStartedFrom()
           
 Date getStartedTo()
           
 String getUserId()
           
 String getVendorData()
           
 void setEndedFrom(Date endedFrom)
          Selects all jobs which ended after the given point in time
 void setEndedTo(Date endedTo)
          Selects all jobs which ended before the given point in time
 void setJobDefinitionId(JobDefinitionID id)
          Selects all instances of the given job definition
 void setJobId(JobID id)
          Selects the specified job.
 void setJobStatus(JobStatus status)
          Selects all jobs with the specified status.
 void setName(String name)
          Selects all jobs with the specified job-name.
 void setNode(String node)
          Selects all jobs which were executed on a particular node
 void setParentId(JobID parentID)
          Selects all jobs which are children of the specified parent job
 void setReturnCode(Short returnCode)
          Selects all jobs with the specified return code
 void setScheduler(SchedulerID scheduler)
          Selects all jobs which were triggered by the specified scheduler
 void setSchedulerTaskId(SchedulerTaskID schedTaskId)
          Selects all jobs which were triggered by the specified scheduler task.
 void setStartedFrom(Date startedFrom)
          Selects all jobs which started after the given point in time.
 void setStartedTo(Date startedTo)
          Selects all jobs which started before the given point in time.
 void setUserId(String userId)
          Selects all jobs which ran under the specified user id.
 void setVendorData(String vendorData)
          Selects all jobs with the specified vendor data.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobFilter

public JobFilter()
Method Detail

getEndedFrom

public Date getEndedFrom()

setEndedFrom

public void setEndedFrom(Date endedFrom)
Selects all jobs which ended after the given point in time

Parameters:
endedFrom -

getEndedTo

public Date getEndedTo()

setEndedTo

public void setEndedTo(Date endedTo)
Selects all jobs which ended before the given point in time

Parameters:
endedTo -

getJobDefinitionId

public JobDefinitionID getJobDefinitionId()

setJobDefinitionId

public void setJobDefinitionId(JobDefinitionID id)
Selects all instances of the given job definition

Parameters:
id -

getNode

public String getNode()

setNode

public void setNode(String node)
Selects all jobs which were executed on a particular node

Parameters:
node -

getParentId

public JobID getParentId()

setParentId

public void setParentId(JobID parentID)
Selects all jobs which are children of the specified parent job

Parameters:
parentID -

getReturnCode

public Short getReturnCode()

setReturnCode

public void setReturnCode(Short returnCode)
Selects all jobs with the specified return code

Parameters:
returnCode -

getScheduler

public SchedulerID getScheduler()

setScheduler

public void setScheduler(SchedulerID scheduler)
Selects all jobs which were triggered by the specified scheduler

Parameters:
scheduler -

getStartedFrom

public Date getStartedFrom()

setStartedFrom

public void setStartedFrom(Date startedFrom)
Selects all jobs which started after the given point in time.

Parameters:
startedFrom -

getStartedTo

public Date getStartedTo()

setStartedTo

public void setStartedTo(Date startedTo)
Selects all jobs which started before the given point in time.

Parameters:
startedTo -

getJobStatus

public JobStatus getJobStatus()

setJobStatus

public void setJobStatus(JobStatus status)
Selects all jobs with the specified status.

Parameters:
status -

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)
Selects all jobs which ran under the specified user id.

Parameters:
userId -

getVendorData

public String getVendorData()

setVendorData

public void setVendorData(String vendorData)
Selects all jobs with the specified vendor data.

Parameters:
vendorData -

setJobId

public void setJobId(JobID id)
Selects the specified job.

Parameters:
id -

getJobId

public JobID getJobId()

setSchedulerTaskId

public void setSchedulerTaskId(SchedulerTaskID schedTaskId)
Selects all jobs which were triggered by the specified scheduler task.

Parameters:
schedTaskId -

getSchedulerTaskId

public SchedulerTaskID getSchedulerTaskId()

setName

public void setName(String name)
Selects all jobs with the specified job-name.

Parameters:
name -

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] ENGFACADE [sap.com] tc/je/scheduler/api api BC-JAS


Copyright 2014 SAP AG Complete Copyright Notice