public class SplusJobs extends AdminResult implements java.io.Serializable
SplusJobs
object.
The SplusJobs
object is created by an evaluation request.
Constructor and Description |
---|
SplusJobs()
Constructs the
SplusJobs object. |
SplusJobs(int responseCode,
java.lang.String errorMessage)
Constructs the
SplusJobs object, including a response code and a string containing the error message. |
SplusJobs(SplusDataResult... jobs)
Constructs the
SplusJobs object from the passed-in array of SplusDataResult jobs |
Modifier and Type | Method and Description |
---|---|
java.util.List<SplusDataResult> |
getJobs()
Retrieves a list of
SplusDataResult objects. |
void |
setJobs(java.util.List<SplusDataResult> jobs)
Sets a list of
SplusDataResult objects. |
void |
throwExceptionIfError()
Translates between the response code and corresponding exception thrown on the client.
|
java.lang.String |
toString() |
getErrorMessage, getResponseCode, setErrorMessage, setResponseCode
public SplusJobs()
SplusJobs
object. You never need to call this constructor
explicitly.public SplusJobs(SplusDataResult... jobs)
SplusJobs
object from the passed-in array of SplusDataResult
jobsjobs
- An array of jobs.public SplusJobs(int responseCode, java.lang.String errorMessage)
SplusJobs
object, including a response code and a string containing the error message.responseCode
- The response code.errorMessage
- The error message.ResponseCodes
public java.util.List<SplusDataResult> getJobs()
SplusDataResult
objects.SplusDataResult
objects.public void setJobs(java.util.List<SplusDataResult> jobs)
SplusDataResult
objects.jobs
- A list of SplusDataResult
objects.public void throwExceptionIfError() throws JobDoesNotExistException, NotAuthenticatedException, java.lang.IllegalArgumentException
JobDoesNotExistException
NotAuthenticatedException
java.lang.IllegalArgumentException
public java.lang.String toString()
toString
in class java.lang.Object