Class CommandLineFactory
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.CommandLineFactory
-
public class CommandLineFactory extends Object
Command line factory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLine
getCommandLine(String name)
Get theCommand
for the given nameCollection
getCommandLines()
static CommandLineFactory
getInstance()
-
-
-
Method Detail
-
getInstance
public static CommandLineFactory getInstance()
- Returns:
- singleton
-
getCommandLines
public Collection getCommandLines()
- Returns:
- all registered
Command
s
-
getCommandLine
public CommandLine getCommandLine(String name) throws JcrParserException
Get theCommand
for the given name- Parameters:
name
- theCommand
name- Returns:
- a new Command Line Instance for the given command name
- Throws:
JcrParserException
- if there's noCommand
for the given name
-
-