com.supermap.geoprocessor.jobscheduling.manager
Class AddJobToScheduler
- java.lang.Object
-
- com.supermap.geoprocessor.jobscheduling.manager.AddJobToScheduler
-
- All Implemented Interfaces:
- ISchedulerAction
public class AddJobToScheduler extends java.lang.Object implements ISchedulerAction
Add a job to the scheduler. Below operations will be done: 1. Get valid parameters from xml. 2. Create trigger by parameters. 3. Create job by parameters. 4. Add the trigger and job to the specified scheduler.
-
-
Constructor Summary
Constructors Constructor and Description AddJobToScheduler()
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringdoAction(java.lang.String data, java.util.Map dataMap)Start action.
-
-
-
Method Detail
-
doAction
public java.lang.String doAction(java.lang.String data, java.util.Map dataMap)Start action.- Specified by:
doActionin interfaceISchedulerAction- Parameters:
data- Received client message.dataMap- Extra parameter set- Returns:
- Message from client after process
-
-