com.maverick.sshd.shell
Class ShellCommandFactory
java.lang.Object
com.maverick.sshd.shell.ShellCommandFactory
public class ShellCommandFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ShellCommandFactory getInstance()
addConfigurator
public void addConfigurator(ShellCommandConfigurator configurator)
removeConfigurator
public void removeConfigurator(ShellCommandConfigurator configurator)
installCommand
public void installCommand(String cmd,
Class<? extends ShellCommand> cls)
uninstallCommand
public void uninstallCommand(String cmd)
getSupportedCommands
public Set<String> getSupportedCommands()
supportsCommand
public boolean supportsCommand(String command)
newInstance
public ShellCommand newInstance(String command)
throws UnsupportedCommandException,
IllegalAccessException,
InstantiationException
- Throws:
UnsupportedCommandException
IllegalAccessException
InstantiationException
Copyright © 2012. All Rights Reserved.