@groovy.util.logging.Slf4j class DefaultOperations extends java.lang.Object
Default implementation of Operations. Operations should follow the logging convention, that is, it should write a log as DEBUG on beginning of an operation, it should write a log as INFO on success of an operation, but it does not need to write a log if it is an internal operation.
| Constructor and description |
|---|
DefaultOperations
(Connection connection1) |
| Type | Name and description |
|---|---|
Operation |
command(CommandSettings settings, java.lang.String commandLine) |
int |
forwardLocalPort(LocalPortForwardSettings settings) |
void |
forwardRemotePort(RemotePortForwardSettings settings) |
T |
sftp(FileTransferSettings settings, groovy.lang.Closure<T> closure) |
Operation |
shell(ShellSettings settings) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation