@Beta public class SshFetchTaskWrapper extends java.lang.Object implements TaskWrapper<java.lang.String>
ProcessTaskWrapper, but putting a file on the remote machine| Modifier and Type | Method and Description | 
|---|---|
| Task<java.lang.String> | asTask() | 
| SshFetchTaskWrapper | block()blocks until the task completes; does not throw | 
| java.lang.String | get()blocks, returns the fetched file as a string, throwing if there was an exception | 
| byte[] | getBytes()blocks, returns the fetched file as bytes, throwing if there was an exception | 
| SshMachineLocation | getMachine() | 
| java.lang.String | getRemoteFile() | 
| Task<java.lang.String> | getTask() | 
| boolean | isDone()true iff the ssh job has completed (with or without failure) | 
| java.lang.String | toString() | 
public Task<java.lang.String> asTask()
asTask in interface TaskAdaptable<java.lang.String>public Task<java.lang.String> getTask()
getTask in interface TaskWrapper<java.lang.String>public java.lang.String getRemoteFile()
public SshMachineLocation getMachine()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String get()
public byte[] getBytes()
public SshFetchTaskWrapper block()
public boolean isDone()