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
| 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)
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.