com.supermap.geoprocessor.jobscheduling.manager

Class ModifyJobTriggerTime

  • java.lang.Object
    • com.supermap.geoprocessor.jobscheduling.manager.ModifyJobTriggerTime
  • All Implemented Interfaces:
    ISchedulerAction


    public class ModifyJobTriggerTime
    extends java.lang.Object
    implements ISchedulerAction
    
    Modifies the time of triggering jobs. 1. According to the provided JobKey, search and get JobDetail from the specified Scheduler. 2. According to the new trigger rule, create a new trigger. 3. Add JobDetail and the new trigger to the Scheduler.
    • 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

      • ModifyJobTriggerTime

        public ModifyJobTriggerTime()
        
    • Method Detail

      • doAction

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