|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.remedy.cmdb.api.CMDBREJobRunInfo
The CMDBREJobRunInfo
class defines an JobRunInfo
Field Summary | |
static int |
CMDBRE_JOB_RUN_STATUS_ABORTED
Job Aborted |
static int |
CMDBRE_JOB_RUN_STATUS_CANCELED
Job Canceled |
static int |
CMDBRE_JOB_RUN_STATUS_FAILED
Job Failed |
static int |
CMDBRE_JOB_RUN_STATUS_PAUSED
Job is Paused |
static int |
CMDBRE_JOB_RUN_STATUS_QUEUED
Job is Queued |
static int |
CMDBRE_JOB_RUN_STATUS_STARTED
Job Started |
static int |
CMDBRE_JOB_RUN_STATUS_SUCCESS
Job Successfully completed |
static int |
CMDBRE_JOB_RUN_STATUS_UNKNOWN
Job status is not unknown |
Constructor Summary | |
CMDBREJobRunInfo()
Constructs a JobRunInfo |
|
CMDBREJobRunInfo(java.lang.String aJobRunId,
java.lang.String aJobName,
java.lang.String aJobInstanceId,
long aStartTime,
long aEndTime,
int aJobRunStatus)
/** Constructs a Job Run Info. |
Method Summary | |
static CMDBREJobRunInfo |
CMDBREGetJobRun(ARServerUser context,
java.lang.String jobRunId)
Gets Job Run Information along with JobLog |
static CMDBREJobRunInfo[] |
CMDBREGetListJobRun(ARServerUser context,
QualifierInfo qualifierInfo,
java.lang.Integer numMatch)
Gets List of Job Run Information |
static CMDBREJobRunInfo[] |
CMDBREGetListJobRun(ARServerUser context,
java.lang.String qualification,
java.lang.Integer numMatch)
Gets List of Job Run Information without JobLog |
Timestamp |
getEndTime()
Gets the Job End Time of the JobRunInfo object. |
java.lang.String |
getJobInstanceId()
Gets the Job Instance Id of the JobRunInfo object. |
java.lang.String |
getJobLog()
Gets the Job Log of the JobRunInfo object. |
java.lang.String |
getJobLog(ARServerUser context)
Gets the Job Log of the JobRunInfo object |
java.lang.String |
getJobName()
Gets the Job Name of the JobRunInfo object. |
java.lang.String |
getJobRunId()
Gets the Job Run Id of the JobRunInfo object. |
int |
getJobRunStatus()
Gets the status of the given job of JobRunInfo Object. |
Timestamp |
getStartTime()
Gets the Job Start Time of the JobRunInfo object. |
void |
setEndTime(long aEndTime)
Sets the End Time of the JobRunInfo object. |
void |
setJobInstanceId(java.lang.String aJobInstanceId)
Sets the Job Instance Id of the JobRunInfo object. |
void |
setJobLog(java.lang.String aJobLog)
Sets the JobLog of the JobRunInfo object. |
void |
setJobName(java.lang.String aJobName)
Sets the Job Name of the JobRunInfo object. |
void |
setJobRunId(java.lang.String aJobRunId)
Sets the Job Run Id of the JobRunInfo object. |
void |
setJobRunStatus(int aJobRunStatus)
Sets the job status of given job for JobRunInfo Object. |
void |
setStartTime(long aStartTime)
Sets the Start Time of the JobRunInfo object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CMDBRE_JOB_RUN_STATUS_STARTED
public static final int CMDBRE_JOB_RUN_STATUS_SUCCESS
public static final int CMDBRE_JOB_RUN_STATUS_FAILED
public static final int CMDBRE_JOB_RUN_STATUS_CANCELED
public static final int CMDBRE_JOB_RUN_STATUS_ABORTED
public static final int CMDBRE_JOB_RUN_STATUS_QUEUED
public static final int CMDBRE_JOB_RUN_STATUS_PAUSED
public static final int CMDBRE_JOB_RUN_STATUS_UNKNOWN
Constructor Detail |
public CMDBREJobRunInfo()
public CMDBREJobRunInfo(java.lang.String aJobRunId, java.lang.String aJobName, java.lang.String aJobInstanceId, long aStartTime, long aEndTime, int aJobRunStatus)
aJobRunId
- is the JobId of the JobRunInfoaJobName
- is the Job Name of the JobRunInfoaJobInstanceId
- is the Job Instance of the JobRunInfoaStartTime
- is the Job Start Time of the JobRunInfoaEndTime
- is the Job End Time of the JobRunInfoaJobRunStatus
- is the Job status of the JobRunInfoMethod Detail |
public java.lang.String getJobRunId()
public java.lang.String getJobName()
public java.lang.String getJobInstanceId()
public Timestamp getStartTime()
public Timestamp getEndTime()
public int getJobRunStatus()
public java.lang.String getJobLog()
public java.lang.String getJobLog(ARServerUser context)
context
- the AR Server User object
return the Job Log for the JobRunInfo objectpublic void setJobRunId(java.lang.String aJobRunId)
aJobRunId
- the Job Run Id of JobRunInfo object
java.lang.IllegalArgumentException
- if aJobRunId
is emptypublic void setJobName(java.lang.String aJobName)
aJobName
- the Job Name of JobRunInfo object
java.lang.IllegalArgumentException
- if aJobName
is emptypublic void setJobInstanceId(java.lang.String aJobInstanceId)
aJobInstanceId
- the Job Instance Id of JobRunInfo object
java.lang.IllegalArgumentException
- if aJobInstanceId
is emptypublic void setStartTime(long aStartTime)
aStartTime
- the Start Time of JobRunInfo objectpublic void setEndTime(long aEndTime)
aEndTime
- the End Time of JobRunInfo objectpublic void setJobRunStatus(int aJobRunStatus)
aJobRunStatus
- is the job status for JobRunInfo Object.public void setJobLog(java.lang.String aJobLog)
aJobLog
- the Job Log of JobRunInfo object
java.lang.IllegalArgumentException
- if aJobLogpublic static CMDBREJobRunInfo CMDBREGetJobRun(ARServerUser context, java.lang.String jobRunId) throws ARException
context
- AR System user and host infomationjobRunId
- Job Id
ARException
- if Version Information cannot be retrievedpublic static CMDBREJobRunInfo[] CMDBREGetListJobRun(ARServerUser context, java.lang.String qualification, java.lang.Integer numMatch) throws ARException
context
- AR System user and host infomationqualification
- AR Qualification StringnumMatch
- Number of Matches
ARException
- if Version Information cannot be retrievedpublic static CMDBREJobRunInfo[] CMDBREGetListJobRun(ARServerUser context, QualifierInfo qualifierInfo, java.lang.Integer numMatch) throws ARException
context
- AR System user and host infomationqualifierInfo
- AR Qualification StructnumMatch
- Number of Matches
ARException
- if Version Information cannot be retrieved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |