CheckForWorkCmd is a common interface for scheduler task commands which will indicate whether there is work that needs to be done for a particular store or not.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright notice field. |
static java.lang.String |
defaultCommandClassName The default implementation of this command. |
static java.lang.String |
NAME The name of this comand. |
Method Summary | |
---|---|
boolean |
checkProcessingNeeded() Will determine whether the work is needed to be done for a particular store by returning a value of true. |
void |
setStoreId(java.lang.Integer storeId)
Sets the store id of the store that will be used to determine whether
there is some work that needs to be done. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public boolean checkProcessingNeeded()
public void setStoreId(java.lang.Integer storeId)
storeId
- java.lang.Long