Package org.apache.batchee.cli.command
Class SocketCommand
- java.lang.Object
-
- org.apache.batchee.cli.command.JobOperatorCommand
-
- org.apache.batchee.cli.command.SocketConfigurableCommand
-
- org.apache.batchee.cli.command.SocketCommand
-
- All Implemented Interfaces:
Runnable
public abstract class SocketCommand extends SocketConfigurableCommand
-
-
Field Summary
-
Fields inherited from class org.apache.batchee.cli.command.SocketConfigurableCommand
adminSocket, wait
-
Fields inherited from class org.apache.batchee.cli.command.JobOperatorCommand
baseUrl, operator
-
-
Constructor Summary
Constructors Constructor Description SocketCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Stringcommand()protected abstract voiddefaultRun()voiddoRun()protected abstract voidpostCommand()protected voidsendCommand()protected booleanshouldUseSocket()-
Methods inherited from class org.apache.batchee.cli.command.JobOperatorCommand
info, operator, run
-
-
-
-
Method Detail
-
shouldUseSocket
protected boolean shouldUseSocket()
-
command
protected abstract String command()
-
defaultRun
protected abstract void defaultRun()
-
sendCommand
protected void sendCommand()
-
doRun
public void doRun()
- Specified by:
doRunin classJobOperatorCommand
-
postCommand
protected abstract void postCommand()
-
-