Class JobHistory

java.lang.Object
oracle.iam.scheduler.vo.JobHistory
All Implemented Interfaces:
Serializable

public class JobHistory extends Object implements 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 Details

    • JobHistory

      public JobHistory()
      Constructs a JobHistory object.
  • Method Details

    • getErrorData

      public byte[] getErrorData()
      Provides job history instance's error data.
      Returns:
      Job history instance's error data
    • getId

      public Double getId()
      Provides Job history instance ID.
      Returns:
      Job history instance ID
    • getInfotype

      public String getInfotype()
      Provides job history information type.
      Returns:
      Job history information type
    • getJobEndTime

      public Timestamp getJobEndTime()
      Provides Job end time.
      Returns:
      Job end time
    • getJobName

      public String getJobName()
      Provides job name.
      Returns:
      Job name
    • getJobStartTime

      public Timestamp getJobStartTime()
      Provides job start time.
      Returns:
      Job start time
    • getStatus

      public String getStatus()
      Provides job's status. Supported values are 'STOPPED', 'RUNNING', 'FAILED', 'INTERRUPT'.
      Returns:
      job's status.
    • getExceptionObject

      public Exception getExceptionObject() throws Exception
      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

      public void setId(Double id)
      Sets job history ID in OIM repository.
      Parameters:
      id - Job history ID in OIM repository
    • setInfotype

      public void setInfotype(String infotype)
      Sets Job history information type.
      Parameters:
      infotype - Job history information type
    • setJobEndTime

      public void setJobEndTime(Timestamp jobEndTime)
      Sets Job end time.
      Parameters:
      jobEndTime - Job end time
    • setJobName

      public void setJobName(String jobName)
      Sets job name.
      Parameters:
      jobName - Job name
    • setJobStartTime

      public void setJobStartTime(Timestamp jobStartTime)
      Sets Job start time.
      Parameters:
      jobStartTime - Job start time
    • setStatus

      public void setStatus(String status)
      Sets job's status. Supported values are 'STOPPED', 'RUNNING', 'FAILED', 'INTERRUPT'.
      Parameters:
      status - Job's status
    • getCustomStatus

      public String getCustomStatus()
    • setCustomStatus

      public void setCustomStatus(String customStatus)
    • getJobParams

      public JobHistoryParam getJobParams()
    • setJobParams

      public void setJobParams(JobHistoryParam jobParams)
    • getRuntimeParams

      public Map<String,JobParameter> getRuntimeParams()
    • getCustomParams

      public Map<String,Serializable> getCustomParams()