| com.jcorporate.expresso.core.controller.DBController com.jcorporate.expresso.services.controller.CronController
CronController | public class CronController extends com.jcorporate.expresso.core.controller.DBController (Code) | | Crontab Controller allows for basic insight into the currently running
crontabs on the system. It also allows for basic editing and removal of
existing crontabs. It does not create new crontabs yet.
author: Michael Rimov version: 1.0 since: Expresso 5.3 |
Field Summary | |
final public static transient Logger | log |
Constructor Summary | |
public | CronController() Creates an instance of CronController. |
log | final public static transient Logger log(Code) | | the Log4j Logger
|
buildDayOfWeekValidValues | protected Vector buildDayOfWeekValidValues(ControllerRequest request)(Code) | | Build day of week valid values
Parameters: request - ControllerRequest from which we grab the user's locale Vector of ValidValue objects for each day of the week |
buildDayValidValues | protected Vector buildDayValidValues()(Code) | | Build the crontab day valid values
Vector of ValidValue objects 1-31 |
buildHourValidValues | protected Vector buildHourValidValues()(Code) | | Build the crontab hour valid values
Vector of ValidValue objects: 1-24 |
buildMinuteValidValue | protected Vector buildMinuteValidValue()(Code) | | Build the crontab minute valid values
Vector of minute valid values |
buildMonthValidValues | protected Vector buildMonthValidValues(ControllerRequest request)(Code) | | Build month valid values
Parameters: request - ControllerRequest from which we grab the user's locale Vector of valid values for each month in the year |
buildYearValidValues | protected Vector buildYearValidValues(ControllerRequest request)(Code) | | Build the year valid values
Parameters: request - ControllerRequest from which we grab the user's locale Vector of ValidValues for a 50 year span |
findCronById | protected CrontabEntry findCronById(Crontab crontab, long id)(Code) | | Make sure Cron Manager is synchronized before calling this function!
Parameters: crontab - the crontab to search Parameters: id - the crontab incrementing id CrontabEntry or null if it cannot be found. |
getTitle | public String getTitle()(Code) | | Retrieve the title of the controller
java.lang.String |
|
|