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 |
|---|---|
boolean |
abort() |
void |
buildCompleted() |
void |
buildFinalized() |
void |
buildStarted(hudson.model.Run build) |
boolean |
equals(Object obj) |
hudson.model.Run |
getBuild() |
String |
getBuildUrl() |
String |
getDisplayName() |
hudson.model.Run |
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() |
int |
hashCode() |
Object |
invokeMethod(String name,
Object args) |
boolean |
isCompleted() |
boolean |
isFinalized() |
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() |
void |
waitForFinalization() |
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 boolean abort()
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.Run getFlowRun()
public void buildStarted(hudson.model.Run build)
public void buildCompleted()
public void buildFinalized()
public String getName()
public String getDisplayName()
public boolean isStarted()
public boolean isCompleted()
public boolean isFinalized()
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 void waitForFinalization()
throws ExecutionException,
InterruptedException
public String getId()
Copyright © 2004-2016. All Rights Reserved.