com.cloudbees.plugins.flow
Class JobInvocation

java.lang.Object
  extended by 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


Nested Class Summary
static class JobInvocation.Start
           
 
Constructor Summary
JobInvocation(FlowRun run, hudson.model.AbstractProject project)
           
JobInvocation(FlowRun run, String name)
           
 
Method Summary
 hudson.model.Run getBuild()
           
 groovy.lang.MetaClass getMetaClass()
           
 hudson.model.AbstractProject<?,? extends hudson.model.AbstractBuild<?,?>> getProject()
           
 Object getProperty(String property)
           
 hudson.model.Result getResult()
           
 Object invokeMethod(String name, Object args)
           
 Object propertyMissing(String name)
           
 JobInvocation run(hudson.model.Cause cause, List<hudson.model.Action> actions)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 String toString()
           
 void waitForCompletion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobInvocation

public JobInvocation(FlowRun run,
                     hudson.model.AbstractProject project)

JobInvocation

public JobInvocation(FlowRun run,
                     String name)
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

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.