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 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(String[] command)
ProcessShellFactory
public ProcessShellFactory(String[] command,
EnumSet<ProcessShellFactory.TtyOptions> ttyOptions)
getCommand
public String[] getCommand()
setCommand
public void setCommand(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-2012 Apache Software Foundation. All Rights Reserved.