|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.util.task.ssh.SshFetchTaskWrapper
@Beta public class SshFetchTaskWrapper
As ProcessTaskWrapper, but putting a file on the remote machine
Method Summary | |
---|---|
Task
|
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
|
getTask()
|
boolean
|
isDone()
true iff the ssh job has completed (with or without failure) |
java.lang.String
|
toString()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public TaskasTask() { public Task asTask()
public SshFetchTaskWrapper block()
public java.lang.String get()
public byte[] getBytes()
public SshMachineLocation getMachine()
public java.lang.String getRemoteFile()
public TaskgetTask() { public Task getTask()
public boolean isDone()
public String toString() { public java.lang.String toString()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.