|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bmc.cmdb.api.CMDBREJobRunInfo
public class CMDBREJobRunInfo
The CMDBREJobRunInfo class allows you to define information about
a currently running Reconciliation Engine job.
| Field Summary | |
|---|---|
static int |
CMDBRE_JOB_RUN_STATUS_ABORTED
Specifies that the Reconciliation Engine job is aborted. |
static int |
CMDBRE_JOB_RUN_STATUS_CANCELED
Specifies that the Reconciliation Engine job is canceled. |
static int |
CMDBRE_JOB_RUN_STATUS_FAILED
Specifies that the Reconciliation Engine job failed. |
static int |
CMDBRE_JOB_RUN_STATUS_PAUSED
Specifies that the Reconciliation Engine job is paused. |
static int |
CMDBRE_JOB_RUN_STATUS_QUEUED
Specifies that the Reconciliation Engine job is in a queue. |
static int |
CMDBRE_JOB_RUN_STATUS_STARTED
Specifies that the Reconciliation Engine job is started. |
static int |
CMDBRE_JOB_RUN_STATUS_SUCCESS
Specifies that the Reconciliation Engine job successfully completed. |
static int |
CMDBRE_JOB_RUN_STATUS_UNKNOWN
Specifies that the status of the Reconciliation Engine job is unknown. |
| Constructor Summary | |
|---|---|
CMDBREJobRunInfo()
Default constructor that creates an empty CMDBREJobRunInfo object. |
|
CMDBREJobRunInfo(java.lang.String aJobRunId,
java.lang.String aJobName,
java.lang.String aJobInstanceId,
long aStartTime,
long aEndTime,
int aJobRunStatus)
/** Constructs a CMDBREJobRunInfo object using the specified job run ID, name, instance ID, start time, end time, and status. |
|
| Method Summary | |
|---|---|
static CMDBREJobRunInfo |
CMDBREGetJobRun(ARServerUser context,
java.lang.String jobRunId)
Gets the job run information and the job log for the Reconciliation Engine job. |
static CMDBREJobRunInfo[] |
CMDBREGetListJobRun(ARServerUser context,
QualifierInfo qualifierInfo,
java.lang.Integer numMatch)
Gets a list of Reconciliation Engine jobs that match the specified query information, including information related to the jobs but not the job log information. |
static CMDBREJobRunInfo[] |
CMDBREGetListJobRun(ARServerUser context,
java.lang.String qualification,
java.lang.Integer numMatch)
Gets a list of Reconciliation Engine jobs that match the specified query string, including information related to the jobs but not the job log information. |
Timestamp |
getEndTime()
Gets the end time of the Reconciliation Engine job. |
java.lang.String |
getJobInstanceId()
Gets the instance ID of the Reconciliation Engine job. |
java.lang.String |
getJobLog()
Gets the log information for the Reconciliation Engine job. |
java.lang.String |
getJobLog(ARServerUser context)
Gets the log information for the Reconciliation Engine job using the specified context. |
java.lang.String |
getJobName()
Gets the name of the Reconciliation Engine job. |
java.lang.String |
getJobRunId()
Gets the job ID of the Reconciliation Engine job. |
int |
getJobRunStatus()
Gets the status of the Reconciliation Engine job. |
Timestamp |
getStartTime()
Gets the start time of the Reconciliation Engine job. |
void |
setEndTime(long aEndTime)
Sets the end time for the Reconciliation Engine job. |
void |
setJobInstanceId(java.lang.String aJobInstanceId)
Sets the instance ID for the Reconciliation Engine job. |
void |
setJobLog(java.lang.String aJobLog)
Sets the job log for the Reconciliation Engine job. |
void |
setJobName(java.lang.String aJobName)
Sets the job name for the Reconciliation Engine job. |
void |
setJobRunId(java.lang.String aJobRunId)
Sets the job run ID for the Reconciliation Engine job. |
void |
setJobRunStatus(int aJobRunStatus)
Sets the job status for the Reconciliation Engine job. |
void |
setStartTime(long aStartTime)
Sets the start time for the Reconciliation Engine job. |
| 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 - job ID of the Reconciliation Engine jobaJobName - name of the Reconciliation Engine jobaJobInstanceId - instance ID of the Reconciliation Engine jobaStartTime - start time of the Reconciliation Engine jobaEndTime - end time of the Reconciliation Engine jobaJobRunStatus - status of the Reconciliation Engine job| Method 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 the Reconciliation Engine job
java.lang.IllegalArgumentException - if aJobRunId
is emptypublic void setJobName(java.lang.String aJobName)
aJobName - the job name for the Reconciliation Engine job
java.lang.IllegalArgumentException - if aJobName
is emptypublic void setJobInstanceId(java.lang.String aJobInstanceId)
aJobInstanceId - the instance ID for the Reconciliation Engine job
java.lang.IllegalArgumentException - if aJobInstanceId
is emptypublic void setStartTime(long aStartTime)
aStartTime - the start time for the Reconciliation Engine jobpublic void setEndTime(long aEndTime)
aEndTime - the end time for the Reconciliation Engine jobpublic void setJobRunStatus(int aJobRunStatus)
aJobRunStatus - for the Reconciliation Engine jobpublic void setJobLog(java.lang.String aJobLog)
aJobLog - the job log for the Reconciliation Engine job
java.lang.IllegalArgumentException - if aJobLog
public static CMDBREJobRunInfo CMDBREGetJobRun(ARServerUser context,
java.lang.String jobRunId)
throws ARException
context - AR System user and host infomationjobRunId - Job Id for the Reconciliation Engine job
ARException - if Version Information cannot be retrieved
public static CMDBREJobRunInfo[] CMDBREGetListJobRun(ARServerUser context,
java.lang.String qualification,
java.lang.Integer numMatch)
throws ARException
context - AR System user and host informationqualification - qualifier stringnumMatch - number of matches
ARException - if Version Information cannot be retrieved
public 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 | |||||||||