Package org.apache.batchee.cli.command
Class StartableCommand
- java.lang.Object
-
- org.apache.batchee.cli.command.JobOperatorCommand
-
- org.apache.batchee.cli.command.SocketConfigurableCommand
-
- org.apache.batchee.cli.command.StartableCommand
-
- All Implemented Interfaces:
Runnable
public abstract class StartableCommand extends SocketConfigurableCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected interrorExitCodeprotected intfailureExitCodeprotected List<String>properties-
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 StartableCommand()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddoRun()protected abstract longdoStart(javax.batch.operations.JobOperator operator)protected static PropertiestoProperties(List<String> properties)-
Methods inherited from class org.apache.batchee.cli.command.JobOperatorCommand
info, operator, run
-
-
-
-
Method Detail
-
doRun
public void doRun()
- Specified by:
doRunin classJobOperatorCommand
-
doStart
protected abstract long doStart(javax.batch.operations.JobOperator operator)
-
toProperties
protected static Properties toProperties(List<String> properties)
-
-