org.apache.jackrabbit.standalone.cli
Class CommandLineFactory
java.lang.Object
org.apache.jackrabbit.standalone.cli.CommandLineFactory
public class CommandLineFactory
- extends Object
Command line factory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 the
Command
for the given name
- Parameters:
name
- the Command
name
- Returns:
- a new Command Line Instance for the given command name
- Throws:
JcrParserException
- if there's no Command
for the given name
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.