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 CommandLinegetCommandLine(String name)Get theCommandfor the given nameCollectiongetCommandLines()static CommandLineFactorygetInstance()
-
-
-
Method Detail
-
getInstance
public static CommandLineFactory getInstance()
- Returns:
- singleton
-
getCommandLines
public Collection getCommandLines()
- Returns:
- all registered
Commands
-
getCommandLine
public CommandLine getCommandLine(String name) throws JcrParserException
Get theCommandfor the given name- Parameters:
name- theCommandname- Returns:
- a new Command Line Instance for the given command name
- Throws:
JcrParserException- if there's noCommandfor the given name
-
-