org.apache.sshd.server.shell
Class ProcessShellFactory
java.lang.Object
org.apache.sshd.server.shell.ProcessShellFactory
- All Implemented Interfaces:
- Factory<Command>
public class ProcessShellFactory
- extends java.lang.Object
- implements Factory<Command>
A Factory of Command that will create a new process and bridge
the streams.
- Author:
- Apache MINA SSHD Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessShellFactory
public ProcessShellFactory()
ProcessShellFactory
public ProcessShellFactory(java.lang.String[] command)
ProcessShellFactory
public ProcessShellFactory(java.lang.String[] command,
java.util.EnumSet<ProcessShellFactory.TtyOptions> ttyOptions)
getCommand
public java.lang.String[] getCommand()
setCommand
public void setCommand(java.lang.String[] command)
create
public Command create()
- Description copied from interface:
Factory
- Create a new instance
- Specified by:
create in interface Factory<Command>
- Returns:
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.