com.github.ltsopensource.jobtracker.cmd
Class TriggerJobManuallyHttpCmd

java.lang.Object
  extended by com.github.ltsopensource.jobtracker.cmd.TriggerJobManuallyHttpCmd
All Implemented Interfaces:
com.github.ltsopensource.cmd.HttpCmdProc

public class TriggerJobManuallyHttpCmd
extends Object
implements com.github.ltsopensource.cmd.HttpCmdProc

用来手动触发任务 内部做的事情就是将某个任务加载到内存中

Author:
Robert HG (254963746@qq.com) on 8/4/16.

Constructor Summary
TriggerJobManuallyHttpCmd(JobTrackerAppContext appContext)
           
 
Method Summary
 com.github.ltsopensource.cmd.HttpCmdResponse execute(com.github.ltsopensource.cmd.HttpCmdRequest request)
           
 String getCommand()
           
 String nodeIdentity()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggerJobManuallyHttpCmd

public TriggerJobManuallyHttpCmd(JobTrackerAppContext appContext)
Method Detail

nodeIdentity

public String nodeIdentity()
Specified by:
nodeIdentity in interface com.github.ltsopensource.cmd.HttpCmdProc

getCommand

public String getCommand()
Specified by:
getCommand in interface com.github.ltsopensource.cmd.HttpCmdProc

execute

public com.github.ltsopensource.cmd.HttpCmdResponse execute(com.github.ltsopensource.cmd.HttpCmdRequest request)
                                                     throws Exception
Specified by:
execute in interface com.github.ltsopensource.cmd.HttpCmdProc
Throws:
Exception


Copyright © 2017. All rights reserved.