public class SchedulerStatusDataBean extends SmartDataBeanImpl implements SchedulerDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | _ACTUAL_END
This is the job actual end time key for specifying the sorting of the status records.
|
static java.lang.String | _ACTUAL_START
This is the job actual start time key for specifying the sorting of the status records.
|
static java.lang.String | _APPTYPE
This is the job application type key for specifying the sorting of the status records.
|
static java.lang.String | _JOBREFNUM
This is the job reference key for specifying the sorting of the status records.
|
static java.lang.String | _PATHINFO
This is the job command key for specifying the sorting of the status records.
|
static java.lang.String | _PREFER_START
This is the job preferred start time key for specifying the sorting of the status records.
|
static java.lang.String | _QUERY
This is the job parameter key for specifying the sorting of the status records.
|
static java.lang.String | _STATE
This is the job state key for specifying the sorting of the status records.
|
static java.lang.String | _STATUS
This is the job status key for specifying the sorting of the status records.
|
static java.lang.String | COPYRIGHT
The IBM Copyright Statement.
|
Constructor and Description |
---|
SchedulerStatusDataBean()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
static java.sql.Timestamp | convertTime(java.lang.String time)
This method converts the input time value to a Timestamp object.
|
java.sql.Timestamp | defaultStartDateCriteria()
This method gets the default start time.
|
java.lang.String | getActualStart(int index)
This method gets the actual start time for the scheduled job status for the specified index.
|
java.lang.String | getApplicationType(int index)
This method gets the application of the job for the specified status entry.
|
java.sql.Timestamp | getCriteriaEnd()
This method gets the end time used for filtering the scheduled job status.
|
java.sql.Timestamp | getCriteriaStart()
This method gets the start time used for filtering the scheduled job status.
|
java.lang.String | getEnd(int index)
This method gets the time when the job was completed.
|
java.lang.String | getJobReferenceNumber(int index)
This method gets the job reference number for the job status.
|
java.lang.Long | getMaxItems()
Gets the maximum number scheduled status records to be retrieved by this class.
|
java.lang.String | getOrderBy()
This method gets the ORDERBY attribute.
|
java.lang.String | getPathInfo(int index)
This method gets the command that will be or was executed for the job status.
|
java.lang.String | getPreferedStart(int index)
This method gets the preferred start time of the particular run of the job.
|
java.lang.String | getQueryString(int index)
This method gets the parameters when executing the job.
|
java.lang.String | getStart(int index)
This method gets the start time of the status entry.
|
java.lang.String | getState(int index)
This method gets the state of the status entry.
|
java.lang.String | getStatus(int index)
This method gets the status of the jobs status entry.
|
boolean | hasMoreItems()
Indicates that the maximum number of records has been reached.
|
void | populate()
This method retrieves the status entries for the scheduled jobs that match the specified store id and fall between the start and end time.
|
boolean | setCriteriaEnd(java.lang.String dateCriteria)
This method sets the end time criteria used for fetching the scheduled job history of jobs.
|
boolean | setCriteriaStart(java.lang.String dateCriteria)
This method sets the start time criteria used for fetching the scheduled job history of jobs.
|
void | setMaxItems(java.lang.Long maxNumOfItems)
Sets the maximum number scheduled status records to be retrieved.
|
void | setOrderBy(java.lang.String sortField)
This method sets the ORDERBY attribute when returning the status of the scheduled jobs.
|
void | setStoreId(java.lang.Integer newStoreId)
This method sets the store id of the scheduled job status.
|
int | size()
This method gets the number of status entries returned for the scheduled jobs.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String _JOBREFNUM
public static final java.lang.String _PATHINFO
public static final java.lang.String _QUERY
public static final java.lang.String _APPTYPE
public static final java.lang.String _STATUS
public static final java.lang.String _STATE
public static final java.lang.String _PREFER_START
public static final java.lang.String _ACTUAL_START
public static final java.lang.String _ACTUAL_END
public SchedulerStatusDataBean()
public static final java.sql.Timestamp convertTime(java.lang.String time) throws ECException
public java.sql.Timestamp defaultStartDateCriteria()
public java.lang.String getActualStart(int index)
public java.lang.String getApplicationType(int index)
public java.sql.Timestamp getCriteriaEnd()
public java.sql.Timestamp getCriteriaStart()
public java.lang.String getEnd(int index)
public java.lang.String getJobReferenceNumber(int index)
public java.lang.String getOrderBy()
public java.lang.String getPathInfo(int index)
public java.lang.String getPreferedStart(int index)
public java.lang.String getQueryString(int index)
public java.lang.String getStart(int index)
public java.lang.String getState(int index)
public java.lang.String getStatus(int index)
public void populate() throws java.lang.Exception
public void setOrderBy(java.lang.String sortField)
public void setStoreId(java.lang.Integer newStoreId)
public int size()
public boolean setCriteriaEnd(java.lang.String dateCriteria)
public boolean setCriteriaStart(java.lang.String dateCriteria)
public void setMaxItems(java.lang.Long maxNumOfItems)
public java.lang.Long getMaxItems()
public boolean hasMoreItems()