brooklyn.entity.software
[Java] Class SshEffectorTasks.SshEffectorTaskFactory
java.lang.Object
   brooklyn.util.task.system.ProcessTaskStub
brooklyn.util.task.system.ProcessTaskStub
       brooklyn.util.task.system.internal.AbstractProcessTaskFactory
brooklyn.util.task.system.internal.AbstractProcessTaskFactory
           brooklyn.util.task.ssh.internal.AbstractSshExecTaskFactory
brooklyn.util.task.ssh.internal.AbstractSshExecTaskFactory
               brooklyn.entity.software.SshEffectorTasks.SshEffectorTaskFactory
brooklyn.entity.software.SshEffectorTasks.SshEffectorTaskFactory
- All Implemented Interfaces: 
- EffectorTaskFactory
public static class SshEffectorTasks.SshEffectorTaskFactory
extends AbstractSshExecTaskFactory
 variant of PlainSshExecTaskFactory which fulfills the EffectorTaskFactory signature so can be used directly as an impl for an effector,
 also injects the machine automatically; can also be used outwith effector contexts, and machine is still injected if it is
 run from inside a task at an entity with a single SshMachineLocation 
                     
                 
                | Fields inherited from class ProcessTaskStub | 
|---|
                | commands, completionListeners, config, extraErrorMessage, machine, requireExitCodeZero, returnResultTransformation, returnType, runAsRoot, runAsScript, shellEnvironment, summary | 
                
                 
    
     
    
     
                 
                | Methods inherited from class AbstractProcessTaskFactory | 
|---|
                | add, add, addCompletionListener, allowingNonZeroExitCode, configure, constructCustomizedTaskBuilder, environmentVariable, environmentVariables, finalize, machine, markDirty, requiringExitCodeZero, requiringExitCodeZero, requiringZeroAndReturningStdout, returning, returning, returningIsExitCodeZero, runAsCommand, runAsRoot, runAsScript, self, summary | 
                
                 
                 
    
    
        
        SshEffectorTasks.SshEffectorTaskFactory
        public SshEffectorTasks.SshEffectorTaskFactory(java.lang.String... commands)
        
        - 
        
        
    
     
    
    
        
        newTask
        @Override
public ProcessTaskWrapper newTask(Entity entity, Effector effector, ConfigBag parameters)
        
        - 
        
        
    
        
        newTask
        @Override
public ProcessTaskWrapper newTask()
        
        - 
        
        
    
        
        requiringZeroAndReturningStdout
        public SshEffectorTaskFactory requiringZeroAndReturningStdout()
        
        - 
        
        
    
        
        returning
        @Override
public SshEffectorTaskFactory returning(ScriptReturnType type)
        
        - 
        
        
    
        
        returning
        public SshEffectorTaskFactory returning(Function resultTransformation)
        
        - 
        
        
    
        
        returningIsExitCodeZero
        @Override
public SshEffectorTaskFactory returningIsExitCodeZero()
        
        - 
        
        
    
     
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.