public class JobInvocation extends Object implements groovy.lang.GroovyObject
| Modifier and Type | Class and Description |
|---|---|
static class |
JobInvocation.Start |
| Constructor and Description |
|---|
JobInvocation(FlowRun run,
hudson.model.AbstractProject project) |
JobInvocation(FlowRun run,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildCompleted() |
void |
buildStarted(hudson.model.AbstractBuild build) |
hudson.model.Run |
getBuild() |
String |
getBuildUrl() |
hudson.model.AbstractBuild |
getFlowRun() |
String |
getId() |
groovy.lang.MetaClass |
getMetaClass() |
String |
getName() |
hudson.model.AbstractProject<?,? extends hudson.model.AbstractBuild<?,?>> |
getProject() |
Object |
getProperty(String property) |
hudson.model.Result |
getResult() |
String |
getResultString() |
String |
getStartTime() |
Object |
invokeMethod(String name,
Object args) |
boolean |
isCompleted() |
boolean |
isStarted() |
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() |
hudson.model.Run |
waitForStart() |
public JobInvocation(FlowRun run, hudson.model.AbstractProject project)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic JobInvocation run(hudson.model.Cause cause, List<hudson.model.Action> actions)
public Object invokeMethod(String name, Object args)
invokeMethod in interface groovy.lang.GroovyObjectpublic hudson.model.Result getResult()
throws ExecutionException,
InterruptedException
public String getResultString() throws ExecutionException, InterruptedException
public hudson.model.AbstractBuild getFlowRun()
public void buildStarted(hudson.model.AbstractBuild build)
public void buildCompleted()
public String getName()
public boolean isStarted()
public boolean isCompleted()
public String getBuildUrl()
public String getStartTime()
public hudson.model.Run getBuild()
throws ExecutionException,
InterruptedException
public hudson.model.AbstractProject<?,? extends hudson.model.AbstractBuild<?,?>> getProject()
public hudson.model.Run waitForStart()
throws ExecutionException,
InterruptedException
public void waitForCompletion()
throws ExecutionException,
InterruptedException
public String getId()
Copyright © 2004-2013. All Rights Reserved.