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.String doAction(java.lang.String data, java.util.Map dataMap)
      Start action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddJobToScheduler

        public AddJobToScheduler()
        
    • Method Detail

      • doAction

        public java.lang.String doAction(java.lang.String data,
                                java.util.Map dataMap)
        
        Start action.
        Specified by:
        doAction in interface ISchedulerAction
        Parameters:
        data - Received client message.
        dataMap - Extra parameter set
        Returns:
        Message from client after process