Skip navigation links


oracle.iam.scheduler.vo
Class JobHistory

java.lang.Object
  extended by oracle.iam.scheduler.vo.JobHistory

All Implemented Interfaces:
java.io.Serializable

public class JobHistory
extends java.lang.Object
implements java.io.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:
Serialized Form

Constructor Summary
JobHistory()
          Constructs a JobHistory object.

 

Method Summary
 byte[] getErrorData()
          Provides job history instance's error data.
 java.lang.Exception getExceptionObject()
          Provides exception object of the exception occurs while executing any schedule job from history.
 java.lang.Double getId()
          Provides Job history instance ID.
 java.lang.String getInfotype()
          Provides job history information type.
 java.sql.Timestamp getJobEndTime()
          Provides Job end time.
 java.lang.String getJobName()
          Provides job name.
 java.sql.Timestamp getJobStartTime()
          Provides job start time.
 java.lang.String getStatus()
          Provides job's status.
 void setErrorData(byte[] errorData)
          Sets Job history instance's error data.
 void setId(java.lang.Double id)
          Sets job history ID in OIM repository.
 void setInfotype(java.lang.String infotype)
          Sets Job history information type.
 void setJobEndTime(java.sql.Timestamp jobEndTime)
          Sets Job end time.
 void setJobName(java.lang.String jobName)
          Sets job name.
 void setJobStartTime(java.sql.Timestamp jobStartTime)
          Sets Job start time.
 void setStatus(java.lang.String status)
          Sets job's status.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JobHistory

public JobHistory()
Constructs a JobHistory object.

Method Detail

getErrorData

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

getId

public java.lang.Double getId()
Provides Job history instance ID.
Returns:
Job history instance ID

getInfotype

public java.lang.String getInfotype()
Provides job history information type.
Returns:
Job history information type

getJobEndTime

public java.sql.Timestamp getJobEndTime()
Provides Job end time.
Returns:
Job end time

getJobName

public java.lang.String getJobName()
Provides job name.
Returns:
Job name

getJobStartTime

public java.sql.Timestamp getJobStartTime()
Provides job start time.
Returns:
Job start time

getStatus

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

getExceptionObject

public java.lang.Exception getExceptionObject()
                                       throws java.lang.Exception
Provides exception object of the exception occurs while executing any schedule job from history.
Returns:
Exception object
Throws:
java.lang.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(java.lang.Double id)
Sets job history ID in OIM repository.
Parameters:
id - Job history ID in OIM repository

setInfotype

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

setJobEndTime

public void setJobEndTime(java.sql.Timestamp jobEndTime)
Sets Job end time.
Parameters:
jobEndTime - Job end time

setJobName

public void setJobName(java.lang.String jobName)
Sets job name.
Parameters:
jobName - Job name

setJobStartTime

public void setJobStartTime(java.sql.Timestamp jobStartTime)
Sets Job start time.
Parameters:
jobStartTime - Job start time

setStatus

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

Skip navigation links


Copyright © 2015, Oracle and/or its affiliates. All rights reserved.