public interface JobContainer
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
Job |
getJob(int jobIndex)
Returns the job at the given index in this container.
|
Job[] |
getJobs()
Returns a list of all jobs contained in this container.
|
int |
getNumJobs()
Returns the number of jobs in this container.
|
Job[] getJobs() throws java.rmi.RemoteException
java.rmi.RemoteException
int getNumJobs() throws java.rmi.RemoteException
java.rmi.RemoteException
Job getJob(int jobIndex) throws java.rmi.RemoteException, java.lang.IndexOutOfBoundsException
jobIndex
- Index of job in the container.java.rmi.RemoteException
java.lang.IndexOutOfBoundsException
- Thrown if jobIndex is smaller than zero, or greater or equal to getNumJobs()
.