public class SchedulerCommandsDataBean extends SmartDataBeanImpl implements SchedulerDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright Statement.
|
emptyString
Constructor and Description |
---|
SchedulerCommandsDataBean() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getCheckCommandInfo(int index)
This method gets a
Vector of check commands that is associated with the given scheduler command. |
java.lang.String |
getSchedulerCommand(int index)
This method gets the name of the scheduler command.
|
void |
populate()
This method retrieves all the scheduler commands that are specified in the
SCHCMD table. |
void |
setSchedulerCommand(java.lang.String newPathInfo)
This method specifies the scheduler command to retrieve.
|
int |
size()
This method gets the number of scheduler commands that may be defined for a store.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandContext, setCommandContext
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public java.util.Vector getCheckCommandInfo(int index)
Vector
of check commands that is associated with the given scheduler command.index
- This is the index of the scheduler command.Vector
that represents the list of associated check commands for the scheduler command.public java.lang.String getSchedulerCommand(int index)
index
- This is the index of the scheduler command.String
that represents the name of the scheduler command.public void populate() throws java.lang.Exception
SCHCMD
table.
It also retrieves the related check commands for each scheduler command.
If no scheduler command was specified then all the scheduler commands will be retrieved. If
the scheduler command was specified, then only the scheduler command specified will be retrieved.populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
- This is thrown if there are any problems retrieving the scheduler command or
its related check commands.public void setSchedulerCommand(java.lang.String newPathInfo)
newPathInfo
- This is the name of the scheduler command.public int size()
int
value that represents the number of scheduler commands.