| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbrooklyn.util.task.ssh.SshPutTaskStub
brooklyn.util.task.ssh.SshPutTaskWrapper
@Beta public class SshPutTaskWrapper extends SshPutTaskStub
As ProcessTaskWrapper, but putting a file on the remote machine
| Field Summary | |
|---|---|
| protected java.lang.Exception | exception | 
| protected java.lang.Integer | exitCodeOfCopy | 
| protected boolean | successful | 
| Fields inherited from class SshPutTaskStub | |
|---|---|
| allowFailure, contents, createDirectory, machine, permissions, remoteFile, summary | 
| Method Summary | |
|---|---|
| Task | asTask() | 
| SshPutTaskWrapper | block()true iff the scp has completed successfully; guaranteed to be set before isDone() or block() are satisfied | 
| java.lang.Void | get() | 
| java.lang.Exception | getException()true iff the ssh job has completed (with or without failure) | 
| java.lang.Integer | getExitCode()returns any exception encountered in the operation | 
| Task | getTask() | 
| boolean | isDone() | 
| boolean | isSuccessful() | 
| java.lang.String | toString()blocks, throwing if there was an exception | 
| Methods inherited from class SshPutTaskStub | |
|---|---|
| getMachine, getRemoteFile, getSummary | 
| Field Detail | 
|---|
protected java.lang.Exception exception
protected java.lang.Integer exitCodeOfCopy
protected boolean successful
| Method Detail | 
|---|
public TaskasTask() { public Task asTask() 
public SshPutTaskWrapper block()
public java.lang.Void get()
public java.lang.Exception getException()
public java.lang.Integer getExitCode()
public TaskgetTask() { public Task getTask() 
public boolean isDone()
public boolean isSuccessful()
* null if it has not completed or threw exception public java.lang.String toString()
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.