com.github.ltsopensource.jobtracker.cmd
Class TriggerJobManuallyHttpCmd
java.lang.Object
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.
TriggerJobManuallyHttpCmd
public TriggerJobManuallyHttpCmd(JobTrackerAppContext appContext)
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.