com.cloudbees.plugins.flow
Class JobInvocation
java.lang.Object
com.cloudbees.plugins.flow.JobInvocation
- All Implemented Interfaces:
- groovy.lang.GroovyObject
- Direct Known Subclasses:
- JobInvocation.Start
public class JobInvocation
- extends Object
- implements groovy.lang.GroovyObject
JobInvocation
public JobInvocation(FlowRun run,
hudson.model.AbstractProject project)
JobInvocation
public JobInvocation(FlowRun run,
String name)
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
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
run
public JobInvocation run(hudson.model.Cause cause,
List<hudson.model.Action> actions)
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
propertyMissing
public Object propertyMissing(String name)
getResult
public hudson.model.Result getResult()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
getBuild
public hudson.model.Run getBuild()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
getProject
public hudson.model.AbstractProject<?,? extends hudson.model.AbstractBuild<?,?>> getProject()
toString
public String toString()
- Overrides:
toString in class Object
waitForCompletion
public void waitForCompletion()
throws ExecutionException,
InterruptedException
- Throws:
ExecutionException
InterruptedException
Copyright © 2004-2013. All Rights Reserved.