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(hudson.model.Job job, Map args)
           
 List<hudson.model.Cause> getCauses()
           
 Object getClosureValue(Object closure)
           
 FlowRun getFlowRun()
           
 int getIndent()
           
 hudson.model.BuildListener getListener()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getOut()
           
 Object getProperty(String property)
           
 Object guard(Object guardedClosure)
           
 Object ignore(hudson.model.Result result, Object closure)
           
 Object invokeMethod(String method, Object arguments)
           
 Object methodMissing(String name, Object args)
           
 List<FlowState> parallel(groovy.lang.Closure... closures)
           
 List<FlowState> parallel(Collection<? extends groovy.lang.Closure> closures)
           
 Object println_with_indent(groovy.lang.Closure f)
           
 Object println(String s)
           
 Object propertyMissing(String name)
           
 Object retry(int attempts, Object retryClosure)
           
 void setCauses(List<hudson.model.Cause> value)
           
 void setFlowRun(FlowRun value)
           
 void setIndent(int 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)

getIndent

public int getIndent()

setIndent

public void setIndent(int value)

getOut

public Object getOut()

println_with_indent

public Object println_with_indent(groovy.lang.Closure f)

println

public Object println(String s)

fail

public Object fail()

build

public Object build(String jobName)

build

public Object build(Map args,
                    String jobName)

getActions

public Object getActions(hudson.model.Job job,
                         Map args)

getClosureValue

public Object getClosureValue(Object closure)

guard

public Object guard(Object guardedClosure)

ignore

public Object ignore(hudson.model.Result result,
                     Object closure)

retry

public Object retry(int attempts,
                    Object retryClosure)

parallel

public List<FlowState> parallel(Collection<? extends groovy.lang.Closure> closures)

parallel

public List<FlowState> parallel(groovy.lang.Closure... closures)

propertyMissing

public Object propertyMissing(String name)

methodMissing

public Object methodMissing(String name,
                            Object args)


Copyright © 2004-2013. All Rights Reserved.