Brooklyn

brooklyn.util.task.ssh
[Java] Class SshPutTaskFactory

java.lang.Object
  brooklyn.util.task.ssh.SshPutTaskStub
      brooklyn.util.task.ssh.SshPutTaskFactory
All Implemented Interfaces:
TaskFactory

public class SshPutTaskFactory
extends SshPutTaskStub

Field Summary
 
Fields inherited from class SshPutTaskStub
allowFailure, contents, createDirectory, machine, permissions, remoteFile, summary
 
Constructor Summary
SshPutTaskFactory(java.lang.String remoteFile)

constructor where machine will be added later

SshPutTaskFactory(SshMachineLocation machine, java.lang.String remoteFile)

convenience constructor to supply machine immediately

 
Method Summary
SshPutTaskFactory allowFailure()

SshPutTaskFactory contents(java.lang.String contents)

SshPutTaskFactory contents(byte[] contents)

SshPutTaskFactory contents(java.io.InputStream stream)

SshPutTaskFactory contents(java.io.Reader reader)

SshPutTaskFactory createDirectory()

protected void finalize()

SshPutTaskFactory machine(SshMachineLocation machine)

protected void markDirty()

SshPutTaskWrapper newTask()

SshPutTaskFactory remoteFile(java.lang.String remoteFile)

protected SshPutTaskFactory self()

SshPutTaskFactory summary(java.lang.String summary)

 
Methods inherited from class SshPutTaskStub
getMachine, getRemoteFile, getSummary
 

Constructor Detail

SshPutTaskFactory

public SshPutTaskFactory(java.lang.String remoteFile)
constructor where machine will be added later


SshPutTaskFactory

public SshPutTaskFactory(SshMachineLocation machine, java.lang.String remoteFile)
convenience constructor to supply machine immediately


 
Method Detail

allowFailure

public SshPutTaskFactory allowFailure()


contents

public SshPutTaskFactory contents(java.lang.String contents)


contents

public SshPutTaskFactory contents(byte[] contents)


contents

public SshPutTaskFactory contents(java.io.InputStream stream)


contents

public SshPutTaskFactory contents(java.io.Reader reader)


createDirectory

public SshPutTaskFactory createDirectory()


finalize

protected void finalize() throws Throwable {
protected void finalize()


machine

public SshPutTaskFactory machine(SshMachineLocation machine)


markDirty

protected void markDirty()


newTask

public SshPutTaskWrapper newTask()


remoteFile

public SshPutTaskFactory remoteFile(java.lang.String remoteFile)


self

protected SshPutTaskFactory self()


summary

public SshPutTaskFactory summary(java.lang.String summary)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.