Groovy Documentation

org.hidetake.gradle.ssh.internal.operation
[Groovy] Class ShellDelegate

java.lang.Object
  org.hidetake.gradle.ssh.internal.operation.ShellDelegate
All Implemented Interfaces:
ShellHandler

@TupleConstructor
class ShellDelegate

Property Summary
ChannelShell channel

java.io.OutputStream standardInput

LineOutputStream standardOutput

 
Method Summary
static java.lang.Object create(ChannelShell channel, java.lang.String charset)

Create an instance for the channel.

void enableLogging(LogLevel standardOutputLevel)

void interaction(groovy.lang.Closure closure)

 
Methods inherited from 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()
 

Property Detail

channel

final ChannelShell channel


standardInput

final java.io.OutputStream standardInput


standardOutput

final LineOutputStream standardOutput


 
Method Detail

create

static java.lang.Object create(ChannelShell channel, java.lang.String charset)
Create an instance for the channel.
Parameters:
channel - the channel
charset - character set for streams
Returns:
an instance


enableLogging

void enableLogging(LogLevel standardOutputLevel)


interaction

@Override
void interaction(groovy.lang.Closure closure)


 

Groovy Documentation