Class StartCommand
- java.lang.Object
-
- org.apache.activemq.console.command.AbstractCommand
-
- org.apache.activemq.console.command.StartCommand
-
- All Implemented Interfaces:
Command
public class StartCommand extends AbstractCommand
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CONFIG_URI
protected String[]
helpFile
-
Fields inherited from class org.apache.activemq.console.command.AbstractCommand
COMMAND_OPTION_DELIMETER, context
-
-
Constructor Summary
Constructors Constructor Description StartCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
String
getOneLineDescription()
protected void
printHelp()
Print the help messages for the browse commandprotected void
runTask(List<String> brokerURIs)
The default task to start a broker or a group of brokers-
Methods inherited from class org.apache.activemq.console.command.AbstractCommand
execute, handleException, handleOption, parseOptions, printHelpFromFile, setCommandContext
-
-
-
-
Field Detail
-
DEFAULT_CONFIG_URI
public static final String DEFAULT_CONFIG_URI
- See Also:
- Constant Field Values
-
helpFile
protected String[] helpFile
-
-
Method Detail
-
getName
public String getName()
-
getOneLineDescription
public String getOneLineDescription()
-
runTask
protected void runTask(List<String> brokerURIs) throws Exception
The default task to start a broker or a group of brokers- Specified by:
runTask
in classAbstractCommand
- Parameters:
brokerURIs
-- Throws:
Exception
-
printHelp
protected void printHelp()
Print the help messages for the browse command- Specified by:
printHelp
in classAbstractCommand
-
-