Package com.polarion.platform.jobs
Interface IJobStatus
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IJobMultiStatus
- All Known Implementing Classes:
JobStatus
Job status (result of job's execution).
- Version:
- $Revision:56034 $ $Date:2006-07-13 11:21:20Z $
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Job status type "enumeration". -
Method Summary
Modifier and TypeMethodDescriptiongetError()
Exception cause ofIJobStatus.JobStatusType.STATUS_TYPE_FAILED
(may be omitted).getJob()
Job.Status message.getType()
Status type.
-
Method Details
-
getType
IJobStatus.JobStatusType getType()Status type.- Returns:
IJobStatus.JobStatusType
(notnull
)
-
getJob
IJob getJob()Job.May return
null
if used post-mortem.- Returns:
IJob
ornull
-
getMessage
String getMessage()Status message.- Returns:
- message or
null
-
getError
Throwable getError()Exception cause ofIJobStatus.JobStatusType.STATUS_TYPE_FAILED
(may be omitted).- Returns:
- exception or
null
-