com.sap.scheduler.runtime

Class JobIterator

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

public class JobIterator
extends Object
implements Serializable

Iterator object used to retrieve a possibly large number of job object from a query.

See Also:
Serialized Form

Nested Class Summary
 class JobIterator.StateDescriptor
           
 
Constructor Summary
JobIterator()
           
 
Method Summary
 Job[] getJobs()
          Method to be used by the scheduler runtime only!
 JobIterator.StateDescriptor getStateDescriptor()
          Method to be used by the scheduler runtime only!
 boolean hasMoreChunks()
          This method returns true if there is more data available.
 Job[] nextChunk()
          This method returns the next chunk of job objects.
 void setJobs(Job[] jobs)
          Method to be used by the scheduler runtime only!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobIterator

public JobIterator()
Method Detail

hasMoreChunks

public boolean hasMoreChunks()
This method returns true if there is more data available.

Returns:
true if more data is available, false otherwise

nextChunk

public Job[] nextChunk()
This method returns the next chunk of job objects. This method can only be invoked once on the job iterator.

Returns:
the next chunk of data

setJobs

public void setJobs(Job[] jobs)
Method to be used by the scheduler runtime only!


getJobs

public Job[] getJobs()
Method to be used by the scheduler runtime only!


getStateDescriptor

public JobIterator.StateDescriptor getStateDescriptor()
Method to be used by the scheduler runtime only!

Access Rights

This class can be accessed from:


SC DC
[sap.com] ENGFACADE [sap.com] tc/je/scheduler/api


Copyright 2010 SAP AG Complete Copyright Notice