org.hidetake.gradle.ssh.api.command.Interaction.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-ssh-plugin Show documentation
Show all versions of gradle-ssh-plugin Show documentation
Gradle SSH Plugin provides remote execution and file transfer capabilities
package org.hidetake.gradle.ssh.api.command
/**
* Represents stream interaction with the server.
*
* @author hidetake.org
*/
interface Interaction {
/**
* Wildcard for condition expression.
*/
static final _ = Wildcard.instance
static final standardOutput = Stream.StandardOutput
static final standardError = Stream.StandardError
/**
* Get the standard input for the remote command.
*
* @return output stream
*/
OutputStream getStandardInput()
/**
* Declare an interaction rule.
*
* @param condition map of condition
* @param action the action performed if condition satisfied
*/
void when(Map condition, Closure action)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy