com.cloudbees.plugins.flow
Class FlowDelegate

java.lang.Object
  extended by com.cloudbees.plugins.flow.FlowDelegate
All Implemented Interfaces:
groovy.lang.GroovyObject

public class FlowDelegate
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
FlowDelegate(FlowRun flowRun, hudson.model.BuildListener listener)
           
 
Method Summary
 Object build(Map args, String jobName)
           
 Object build(String jobName)
           
 Object fail()
           
 Object getActions(Map args)
           
 List<hudson.model.Cause> getCauses()
           
 Object getClosureValue(Object closure)
           
 FlowRun getFlowRun()
           
 hudson.model.BuildListener getListener()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 Object guard(Object guardedClosure)
           
 Object invokeMethod(String method, Object arguments)
           
 Object methodMissing(String name, Object args)
           
 Object parallel(groovy.lang.Closure... closures)
           
 Object propertyMissing(String name)
           
 Object retry(int attempts, Object retryClosure)
           
 void setCauses(List<hudson.model.Cause> value)
           
 void setFlowRun(FlowRun value)
           
 void setListener(hudson.model.BuildListener value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowDelegate

public FlowDelegate(FlowRun flowRun,
                    hudson.model.BuildListener listener)
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getCauses

public List<hudson.model.Cause> getCauses()

setCauses

public void setCauses(List<hudson.model.Cause> value)

getFlowRun

public FlowRun getFlowRun()

setFlowRun

public void setFlowRun(FlowRun value)

getListener

public hudson.model.BuildListener getListener()

setListener

public void setListener(hudson.model.BuildListener value)

fail

public Object fail()

build

public Object build(String jobName)

build

public Object build(Map args,
                    String jobName)

getActions

public Object getActions(Map args)

getClosureValue

public Object getClosureValue(Object closure)

guard

public Object guard(Object guardedClosure)

retry

public Object retry(int attempts,
                    Object retryClosure)

parallel

public Object parallel(groovy.lang.Closure... closures)

propertyMissing

public Object propertyMissing(String name)

methodMissing

public Object methodMissing(String name,
                            Object args)


Copyright © 2004-2012. All Rights Reserved.