com.cloudbees.plugins.flow
Class FlowDelegate
java.lang.Object
com.cloudbees.plugins.flow.FlowDelegate
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class FlowDelegate
- extends Object
- implements groovy.lang.GroovyObject
|
Method Summary |
Object |
build(Map args,
String jobName)
|
Object |
build(String jobName)
|
Object |
fail()
|
Object |
getActions(hudson.model.Job job,
Map args)
|
Object |
getBuild()
|
List<hudson.model.Cause> |
getCauses()
|
Object |
getClosureValue(Object closure)
|
Map<String,String> |
getEnv()
|
Object |
getExtension()
|
FlowRun |
getFlowRun()
|
int |
getIndent()
|
hudson.model.BuildListener |
getListener()
|
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getOut()
|
Object |
getParams()
|
Object |
getProperty(String property)
|
hudson.model.AbstractBuild |
getUpstream()
|
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)
|
Map<?,FlowState> |
parallel(Map<?,? extends groovy.lang.Closure> args)
|
Object |
println_with_indent(groovy.lang.Closure f)
|
Object |
println(String s)
|
Object |
propertyMissing(String name)
|
Object |
retry(int attempts,
Object retryClosure)
|
Object |
retry(int attempts,
Object worstAllowed,
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 |
FlowDelegate
public FlowDelegate(FlowRun flowRun,
hudson.model.BuildListener listener,
Object upstream,
Object env)
retry
public Object retry(int attempts,
Object retryClosure)
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)
getBuild
public Object getBuild()
getParams
public Object getParams()
getUpstream
public hudson.model.AbstractBuild getUpstream()
getEnv
public Map<String,String> getEnv()
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 worstAllowed,
Object retryClosure)
parallel
public List<FlowState> parallel(Collection<? extends groovy.lang.Closure> closures)
parallel
public Map<?,FlowState> parallel(Map<?,? extends groovy.lang.Closure> args)
parallel
public List<FlowState> parallel(groovy.lang.Closure... closures)
getExtension
public Object getExtension()
propertyMissing
public Object propertyMissing(String name)
methodMissing
public Object methodMissing(String name,
Object args)
Copyright © 2004-2014. All Rights Reserved.