Package oracle.iam.scheduler.vo
Class JobHistory
java.lang.Object
oracle.iam.scheduler.vo.JobHistory
- All Implemented Interfaces:
Serializable
This value object contains the information regarding a Job History Job Name,
Job Start Time, Job End Time, Error Data if any, Status of the job, ID:
Unique Instance of the Job
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Provides job history instance's error data.Provides exception object of the exception occurs while executing any schedule job from history.getId()Provides Job history instance ID.Provides job history information type.Provides Job end time.Provides job name.Provides job start time.Provides job's status.voidsetCustomStatus(String customStatus) voidsetErrorData(byte[] errorData) Sets Job history instance's error data.voidSets job history ID in OIM repository.voidsetInfotype(String infotype) Sets Job history information type.voidsetJobEndTime(Timestamp jobEndTime) Sets Job end time.voidsetJobName(String jobName) Sets job name.voidsetJobParams(JobHistoryParam jobParams) voidsetJobStartTime(Timestamp jobStartTime) Sets Job start time.voidSets job's status.
-
Constructor Details
-
JobHistory
public JobHistory()Constructs aJobHistoryobject.
-
-
Method Details
-
getErrorData
public byte[] getErrorData()Provides job history instance's error data.- Returns:
- Job history instance's error data
-
getId
Provides Job history instance ID.- Returns:
- Job history instance ID
-
getInfotype
Provides job history information type.- Returns:
- Job history information type
-
getJobEndTime
Provides Job end time.- Returns:
- Job end time
-
getJobName
Provides job name.- Returns:
- Job name
-
getJobStartTime
Provides job start time.- Returns:
- Job start time
-
getStatus
Provides job's status. Supported values are 'STOPPED', 'RUNNING', 'FAILED', 'INTERRUPT'.- Returns:
- job's status.
-
getExceptionObject
Provides exception object of the exception occurs while executing any schedule job from history.- Returns:
- Exception object
- Throws:
Exception- Generic exception
-
setErrorData
public void setErrorData(byte[] errorData) Sets Job history instance's error data.- Parameters:
errorData- Job history instance's error data
-
setId
Sets job history ID in OIM repository.- Parameters:
id- Job history ID in OIM repository
-
setInfotype
Sets Job history information type.- Parameters:
infotype- Job history information type
-
setJobEndTime
Sets Job end time.- Parameters:
jobEndTime- Job end time
-
setJobName
Sets job name.- Parameters:
jobName- Job name
-
setJobStartTime
Sets Job start time.- Parameters:
jobStartTime- Job start time
-
setStatus
Sets job's status. Supported values are 'STOPPED', 'RUNNING', 'FAILED', 'INTERRUPT'.- Parameters:
status- Job's status
-
getCustomStatus
-
setCustomStatus
-
getJobParams
-
setJobParams
-
getRuntimeParams
-
getCustomParams
-