|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
addTask(java.util.Properties taskProperties)
Insert a new task in the quartz scheduler |
void |
addTask(java.lang.String propertiesFile)
Insert a new task in the quartz scheduler. |
void |
addTask(java.lang.String taskName,
java.lang.String taskGroup,
java.lang.String taskClassName,
java.lang.String triggerName,
java.lang.String triggerGroup,
java.util.Date startTime,
java.util.Date endTime,
int repeatCount,
long repeatInterval,
java.util.Map actionParametersMap,
java.util.Map queryParametersMap)
Insert a new task in the quartz scheduler |
void |
addTask(java.lang.String taskName,
java.lang.String taskGroup,
java.lang.String taskClassName,
java.lang.String cronName,
java.lang.String cronGroup,
java.lang.String cronExpression,
java.util.Date endTime)
Insert a new task in the quartz scheduler. |
void |
addTask(java.lang.String taskName,
java.lang.String taskGroup,
java.lang.String taskClassName,
java.lang.String cronName,
java.lang.String cronGroup,
java.lang.String cronExpression,
java.util.Date endTime,
java.util.Map actionParametersMap,
java.util.Map queryParametersMap)
Insert a new task in the Quartz scheduler. |
EntityReferenceLocator |
getReferenceLocator()
|
boolean |
removeTask(java.lang.String taskName,
java.lang.String taskGroup)
Remove an existing task of the scheduler |
| Method Detail |
public EntityReferenceLocator getReferenceLocator()
public void addTask(java.util.Properties taskProperties)
taskProperties - Properties file to configure the task. It must contain:Taskpublic void addTask(java.lang.String propertiesFile)
propertiesFile - Path of the configuration properties file with the task
parametersaddTask(Properties)
public void addTask(java.lang.String taskName,
java.lang.String taskGroup,
java.lang.String taskClassName,
java.lang.String cronName,
java.lang.String cronGroup,
java.lang.String cronExpression,
java.util.Date endTime)
taskName - Name of the task, it must be unique in the schedulertaskGroup - The name of the tasks group to add the task in. This parameter
can be nulltaskClassName - Name of the class that executes the task. This class must
implement the interface TaskcronName - Name of the thread that will execute the task. This name must be
unique in the quartz schedulercronGroup - Name of the group of threads to add the thread in the previous
parameter. This parameter can be nullcronExpression - Expression to configure the temporal timing to execute the task.
This is a string with 7 values separated by ';'. This 7
parameters are:endTime - Date to stop or finish the task execution
public void addTask(java.lang.String taskName,
java.lang.String taskGroup,
java.lang.String taskClassName,
java.lang.String cronName,
java.lang.String cronGroup,
java.lang.String cronExpression,
java.util.Date endTime,
java.util.Map actionParametersMap,
java.util.Map queryParametersMap)
taskName - The name of the task, it must be unique in the schedulertaskGroup - The name of the tasks group to add the task in. This parameter
can be nulltaskClassName - Name of the class that executes the task. This class must
implement the interface TaskcronName - Name of the thread that will execute the task. This name must be
unique in the quartz schedulercronGroup - Name of the group of threads to add the thread in the previous
parameter. This parameter can be nullcronExpression - Expression to configure the temporal timing to execute the task.
This is a string with 7 values separated by ';'. This 7
parameters are:endTime - Date to stop or finish the task executionactionParametersMap - Parameters used to execute the taskqueryParametersMap - Parameters used to execute a query to get some data to know if
the task must be executed or not
public void addTask(java.lang.String taskName,
java.lang.String taskGroup,
java.lang.String taskClassName,
java.lang.String triggerName,
java.lang.String triggerGroup,
java.util.Date startTime,
java.util.Date endTime,
int repeatCount,
long repeatInterval,
java.util.Map actionParametersMap,
java.util.Map queryParametersMap)
taskName - The name of the task, it must be unique in the schedulertaskGroup - The name of the tasks group to add the task in. This parameter
can be nulltaskClassName - Name of the class that executes the task. This class must
implement the interface TasktriggerName - Name of the thread that will execute the task. This name must be
unique in the quartz schedulertriggerGroup - Name of the group of threads to add the thread in the previous
parameter. This parameter can be nullstartTime - Date to start the task executionendTime - Date to stop or finish the execution of the taskrepeatCount - Number of times to execute the taskrepeatInterval - Time between to executions of the taskactionParametersMap - Parameters used to execute the taskqueryParametersMap - Parameters used to execute a query to get some data to know if
the task must be executed or not
public boolean removeTask(java.lang.String taskName,
java.lang.String taskGroup)
taskName - Name of the task to removetaskGroup - name of the group of tasks that contains the task
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||