com.github.ltsopensource.jobtracker.cmd
Class AddJobHttpCmd

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

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

添加任务

Author:
Robert HG (254963746@qq.com) on 10/27/15.

Constructor Summary
AddJobHttpCmd(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

AddJobHttpCmd

public AddJobHttpCmd(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.