Package org.jenkinsci.plugins.sshsteps
Class SSHService
- java.lang.Object
-
- org.jenkinsci.plugins.sshsteps.SSHService
-
- All Implemented Interfaces:
groovy.lang.GroovyObject
,Serializable
@Slf4j public class SSHService extends Object implements Serializable, groovy.lang.GroovyObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SSHService(Map remote, boolean failOnError, boolean dryRun, PrintStream logger)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SSHService
create(Map remote, boolean failOnError, boolean dryRun, PrintStream logger)
Object
executeCommand(String command, boolean sudo)
Object
executeScriptFromFile(String pathname)
Object
get(String from, String into, String filterBy, String filterRegex)
groovy.lang.MetaClass
getMetaClass()
Object
getProperty(String property)
Object
invokeMethod(String method, Object arguments)
Object
put(String from, String into, String filterBy, String filterRegex)
Object
remove(String path)
void
setMetaClass(groovy.lang.MetaClass mc)
void
setProperty(String property, Object value)
-
-
-
Constructor Detail
-
SSHService
public SSHService(Map remote, boolean failOnError, boolean dryRun, PrintStream logger)
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
create
public static SSHService create(Map remote, boolean failOnError, boolean dryRun, PrintStream logger)
-
-