Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

add(Remote, Closure) - Method in DefaultSessions
add(Remote, Closure) - Method in Sessions
Add a session.
alterInteractionRules(List) - Method in Engine
apply(Project) - Method in SshPlugin
attach(LineOutputStream, Stream) - Method in Engine
attachRemoteContainer(Project) - Method in SshPlugin

B

BackgroundCommandException - Class in org.hidetake.gradle.ssh.api.ssh
An exception thrown if at least one background command occurs any error.
BackgroundCommandException(List) - Constructor in BackgroundCommandException
BadExitStatusException - Class in org.hidetake.gradle.ssh.api.operation
An exception class thrown if the remote command returns bad exit status.
BadExitStatusException(String, int) - Constructor in BadExitStatusException

C

checkPoint() - Method in FileTransferLogger.Status
cleanup() - Method in Connection
Cleanup all channels.
cleanup() - Method in ConnectionManager
Cleanup all connections.
cleanup() - Method in DefaultConnection
cleanup() - Method in DefaultConnectionManager
close() - Method in LineOutputStream
Connection - Interface in org.hidetake.gradle.ssh.api.ssh
A SSH connection.
ConnectionManager - Interface in org.hidetake.gradle.ssh.api.ssh
A factory of Connection.
ConnectionManager.Factory - Interface in org.hidetake.gradle.ssh.api.ssh
A factory of ConnectionManager.
count(long) - Method in FileTransferLogger
create(SshSettings) - Method in ConnectionManager.Factory
create(Remote) - Method in DefaultConnectionManager
Establish a JSch session.
create(Remote) - Method in DefaultOperationsFactory
create(Map, Closure) - Method in InteractionRule
create(Remote) - Method in Operations.Factory
Create an instance for dry run.
create(Operations) - Method in SessionHandler.Factory
create() - Method in Sessions.Factory
create(ChannelSftp) - Method in SftpHandler.Factory
createExecutionChannel(String, ExecutionSettings) - Method in Connection
Create an execution channel.
createExecutionChannel(String, ExecutionSettings) - Method in DefaultConnection
createSftpChannel() - Method in Connection
Create a SFTP channel.
createSftpChannel() - Method in DefaultConnection
createShellChannel(ShellSettings) - Method in Connection
Create a shell channel.
createShellChannel(ShellSettings) - Method in DefaultConnection
createVia(Remote, String, int) - Method in DefaultConnectionManager
Establish a JSch session via given host and port.
currentTime() - Method in FileTransferLogger.Status

D

DefaultConnection - Class in org.hidetake.gradle.ssh.internal.ssh
A default implementation of SSH connection.
DefaultConnectionManager - Class in org.hidetake.gradle.ssh.internal.ssh
A default implementation of ConnectionManager.
DefaultConnectionManager(SshSettings) - Constructor in DefaultConnectionManager
Constructor.
DefaultFileTransfer - Class in org.hidetake.gradle.ssh.internal.session.handler
A default implementation of FileTransfer.
DefaultOperations - Class in org.hidetake.gradle.ssh.internal.operation
Default implementation of Operations.
DefaultOperationsFactory - Class in org.hidetake.gradle.ssh.internal.operation
Default implementation of Operations.Factory.
DefaultSessions - Class in org.hidetake.gradle.ssh.internal.session
A default implementation of Sessions.
DefaultSessions.EstablishedSession - Class in org.hidetake.gradle.ssh.internal.session
DefaultSessions.Session - Class in org.hidetake.gradle.ssh.internal.session
DefaultSudoExecution - Class in org.hidetake.gradle.ssh.internal.session.handler
A default implementation of SudoExecution.
DryRunOperations - Class in org.hidetake.gradle.ssh.internal.operation
Dry-run implementation of Operations.

E

end() - Method in FileTransferLogger
Engine - Class in org.hidetake.gradle.ssh.internal.operation.interaction
A rule engine for processing stream events.
Engine.Counter - Class in org.hidetake.gradle.ssh.internal.operation.interaction
establish(Remote) - Method in ConnectionManager
Establish a connection.
establish(Remote) - Method in DefaultConnectionManager
establish(ConnectionManager, SshSettings) - Method in DefaultSessions.Session
evaluate(Closure) - Method in InteractionDelegate
Evaluate the closure.
execute(ExecutionSettings, String) - Method in DefaultOperations
execute(SshSettings) - Method in DefaultSessions
execute() - Method in DefaultSessions.EstablishedSession
execute(ExecutionSettings, String) - Method in DryRunOperations
execute(ExecutionSettings, String) - Method in Operations
execute(HashMap, String, Closure) - Method in SessionDelegate
execute(HashMap, String, Closure) - Method in SessionHandler
Performs an execution operation.
execute(SshSettings) - Method in Sessions
Execute all sessions.
executeBackground(ExecutionSettings, String) - Method in DefaultOperations
executeBackground(ExecutionSettings, String) - Method in DryRunOperations
executeBackground(ExecutionSettings, String) - Method in Operations
executeBackground(HashMap, String, Closure) - Method in SessionDelegate
executeBackground(HashMap, String, Closure) - Method in SessionHandler
Performs an execution operation.
executeCallbackForClosedChannels() - Method in Connection
Execute registered closures.
executeCallbackForClosedChannels() - Method in DefaultConnection
executeSudo(HashMap, String, Closure) - Method in DefaultSudoExecution
executeSudo(HashMap, String, Closure) - Method in SudoExecution
Performs a sudo operation, explicitly providing password for the sudo user.
ExecutionSettings - Class in org.hidetake.gradle.ssh.api.operation
Settings for command execution.

F

factory(Class) - Method in RegistrySupport
Sets a auto-generated factory object.
FileTransfer - Interface in org.hidetake.gradle.ssh.api.session.handler
Handler for file transfer.
FileTransferLogger - Class in org.hidetake.gradle.ssh.internal.operation
Logger for file transfer.
FileTransferLogger.Status - Class in org.hidetake.gradle.ssh.internal.operation
FileTransferLogger() - Constructor in FileTransferLogger
filterByRole - Field in SshPlugin
find(Map) - Method in InteractionRule.EventMatcher
flush() - Method in LineOutputStream
Flush the buffer.

G

generate(def) - Method in InteractionRule.StreamMatcher
generate(def) - Method in InteractionRule.TextMatcher
get(String, String) - Method in DefaultFileTransfer
get(String, String) - Method in FileTransfer
Get a file from the remote host.
get(String, String) - Method in SftpDelegate
get(String, String) - Method in SftpHandler
Get a file from the remote host.
getAt(Class) - Method in RegistrySupport
Returns the instance.
getElapsedTime() - Method in FileTransferLogger.Status
getElapsedTimeFromCheckPoint() - Method in FileTransferLogger.Status
getKiloBytesPerSecond() - Method in FileTransferLogger.Status
getPercent() - Method in FileTransferLogger.Status
getRemote() - Method in Connection
Return the remote host.
getRemote() - Method in DefaultOperations
getRemote() - Method in Operations
getRemote() - Method in SessionDelegate
getRemote() - Method in SessionHandler
Returns remote host for current operation.
getStandardInput() - Method in InteractionHandler
Get the standard input for the remote command.
getValue() - Method in Engine.Counter

H


I

init(int, String, String, long) - Method in FileTransferLogger
InteractionDelegate - Class in org.hidetake.gradle.ssh.internal.operation.interaction
A delegate class for interaction closure.
InteractionHandler - Interface in org.hidetake.gradle.ssh.api.operation.interaction
Represents stream interaction with the server.
InteractionRule - Class in org.hidetake.gradle.ssh.internal.operation.interaction
A rule of interaction with the stream.
InteractionRule.Event - Enum in org.hidetake.gradle.ssh.internal.operation.interaction
isAnyPending() - Method in Connection
Return if any channel is pending.
isAnyPending() - Method in DefaultConnection

J


K


L

leftShift(long) - Method in FileTransferLogger.Status
LineOutputStream - Class in org.hidetake.gradle.ssh.internal.operation.interaction
An implementation of line oriented java.io.OutputStream.
LOCALHOST - Field in DefaultConnectionManager
LOG_INTERVAL_MILLIS - Field in FileTransferLogger

M


N

next() - Method in Engine.Counter

O

Operations - Interface in org.hidetake.gradle.ssh.api.operation
Interface of operations.
Operations.Factory - Interface in org.hidetake.gradle.ssh.api.operation
A factory of Operations.

P

perform() - Method in SshTask
plus(Map) - Method in ExecutionSettings
Compute a merged settings.
plus(SshSettings) - Method in SshSettings
Compute a merged settings.
processLine(Stream, Engine.Counter, String) - Method in Engine
processPartial(Stream, Engine.Counter, String) - Method in Engine
put(String, String) - Method in DefaultFileTransfer
put(String, String) - Method in FileTransfer
Put a file to the remote host.
put(String, String) - Method in SftpDelegate
put(String, String) - Method in SftpHandler
Put a file to the remote host.

Q


R

Registry - Class in org.hidetake.gradle.ssh.registry
A component registry.
RegistrySupport - Class in org.hidetake.gradle.ssh.registry
A support class for component registry.
RegistrySupport.FactoryHandler - Interface in org.hidetake.gradle.ssh.registry
RegistrySupport.SingletonHandler - Interface in org.hidetake.gradle.ssh.registry
Remote - Class in org.hidetake.gradle.ssh.api
Represents a remote host.
remoteIdentityRepository - Field in DefaultConnectionManager
reset() - Method in Engine.Counter
Retry - Class in org.hidetake.gradle.ssh.internal.ssh
retry(int, int, Closure) - Method in Retry
Execute the closure with retrying.
rightShift(Class) - Method in RegistrySupport.FactoryHandler
rightShift(Object) - Method in RegistrySupport.SingletonHandler
role(String) - Method in Remote
Add a role to this remote.

S

session(Collection, Closure) - Method in SshTaskDelegate
Add sessions.
SessionDelegate - Class in org.hidetake.gradle.ssh.internal.session
A default implementation of SessionHandler.
SessionHandler - Interface in org.hidetake.gradle.ssh.api.session
A core handler for session closure.
SessionHandler.Factory - Interface in org.hidetake.gradle.ssh.api.session
A factory of SessionHandler.
Sessions - Interface in org.hidetake.gradle.ssh.api.session
A list of session.
Sessions.Factory - Interface in org.hidetake.gradle.ssh.api.session
A factory of Sessions.
sftp(Closure) - Method in DefaultOperations
sftp(Closure) - Method in DryRunOperations
sftp(Closure) - Method in Operations
Perform SFTP operations.
SftpDelegate - Class in org.hidetake.gradle.ssh.internal.operation
SftpHandler - Interface in org.hidetake.gradle.ssh.api.operation
Handler for closure of file transfer.
SftpHandler.Factory - Interface in org.hidetake.gradle.ssh.api.operation
A factory of SftpHandler.
shell(ShellSettings) - Method in DefaultOperations
shell(ShellSettings) - Method in DryRunOperations
shell(ShellSettings) - Method in Operations
shell(HashMap) - Method in SessionDelegate
shell(HashMap) - Method in SessionHandler
Performs a shell operation.
ShellSettings - Class in org.hidetake.gradle.ssh.api.operation
Settings for shell operation.
singleton(Class) - Method in RegistrySupport
Sets a singleton object.
ssh(Closure) - Method in SshPluginConvention
Configure global settings.
sshexec(Closure) - Method in SshPluginConvention
Execute a task.
SshPlugin - Class in org.hidetake.gradle.ssh.plugin
Gradle SSH plugin.
SshPluginConvention - Class in org.hidetake.gradle.ssh.plugin
Convention properties and methods.
SshSettings - Class in org.hidetake.gradle.ssh.api
Global SSH settings.
SshTask - Class in org.hidetake.gradle.ssh.plugin
A SSH task for Gradle.
SshTaskDelegate - Class in org.hidetake.gradle.ssh.plugin
A delegate class of ssh task.
sshTaskDelegate - Field in SshTask
status - Field in FileTransferLogger
Stream - Enum in org.hidetake.gradle.ssh.api.operation.interaction
Stream.
SudoExecution - Interface in org.hidetake.gradle.ssh.api.session.handler
Handler for sudo execution.

T

toString() - Method in Engine.Counter
toString() - Method in InteractionRule
toString() - Method in Remote
Returns a string representation of this remote host.
toString() - Method in Wildcard

U


V


W

waitForPending() - Method in ConnectionManager
Wait for pending sessions.
waitForPending() - Method in DefaultConnectionManager
when(Map, Closure) - Method in InteractionDelegate
when(Map, Closure) - Method in InteractionHandler
Declare an interaction rule.
whenClosed(Channel, Closure) - Method in Connection
Register a closure called when the channel is closed.
whenClosed(Channel, Closure) - Method in DefaultConnection
Wildcard - Class in org.hidetake.gradle.ssh.api.operation.interaction
write(int) - Method in LineOutputStream

X


Y


Z


_


Groovy Documentation