@Named @RequestScoped public class SchedulerController extends Object implements Serializable
The class can be subclassed to add specific data to the scheduler configuration.
Constructor and Description |
---|
SchedulerController() |
Modifier and Type | Method and Description |
---|---|
ItemCollection |
getConfiguration() |
String |
getName() |
String |
getSchedulerClass() |
SchedulerService |
getSchedulerService() |
void |
init()
This method load the config entity after postContstruct.
|
String |
millisToShortDHMS(int duration)
converts time (in milliseconds) to human-readable format "
|
void |
refresh()
This method updates the scheduler configuration with the current timer
information
|
void |
restartScheduler(javax.faces.event.ActionEvent event) |
void |
saveConfiguration()
Saves the current scheduler configuration.
|
void |
setConfiguration(ItemCollection configuration) |
void |
setName(String name) |
void |
setSchedulerClass(String schedulerClass) |
void |
startScheduler()
starts the timer service
|
void |
stopScheduler() |
@PostConstruct public void init()
public String getName()
public void setName(String name)
public String getSchedulerClass()
public void setSchedulerClass(String schedulerClass)
public ItemCollection getConfiguration()
public void setConfiguration(ItemCollection configuration)
public void saveConfiguration()
public void refresh()
public SchedulerService getSchedulerService()
public void startScheduler() throws AccessDeniedException, ParseException
public void stopScheduler()
public void restartScheduler(javax.faces.event.ActionEvent event) throws Exception
Exception
public String millisToShortDHMS(int duration)
Copyright © 2006–2022 Imixs Software Solutions GmbH. All rights reserved.