|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.model.Actionable
hudson.model.Run<P,R>
hudson.model.AbstractBuild<P,B>
hudson.model.Build<BuildFlow,FlowRun>
com.cloudbees.plugins.flow.FlowRun
public class FlowRun
Maintain the state of execution of a build flow as a chain of triggered jobs
| Nested Class Summary | |
|---|---|
protected class |
FlowRun.BuildWithWorkspaceRunnerImpl
|
protected class |
FlowRun.FlyweightTaskRunnerImpl
|
static class |
FlowRun.JobEdge
|
| Nested classes/interfaces inherited from class hudson.model.Build |
|---|
hudson.model.Build.BuildExecution, hudson.model.Build.RunnerImpl |
| Nested classes/interfaces inherited from class hudson.model.AbstractBuild |
|---|
hudson.model.AbstractBuild.AbstractBuildExecution, hudson.model.AbstractBuild.AbstractRunner, hudson.model.AbstractBuild.DependencyChange |
| Nested classes/interfaces inherited from class hudson.model.Run |
|---|
hudson.model.Run.Artifact, hudson.model.Run.ArtifactList, hudson.model.Run.KeepLogBuildBadge, hudson.model.Run.RedirectUp, hudson.model.Run.RunExecution, hudson.model.Run.Runner, hudson.model.Run.RunnerAbortedException, hudson.model.Run.Summary |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu |
|---|
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.MenuItem |
| Field Summary |
|---|
| Fields inherited from class hudson.model.AbstractBuild |
|---|
buildEnvironments |
| Fields inherited from class hudson.model.Run |
|---|
ARTIFACTS, charset, DELETE, description, duration, FEED_ADAPTER, FEED_ADAPTER_LATEST, ID_FORMATTER, LIST_CUTOFF, nextBuild, number, ORDER_BY_DATE, PERMISSIONS, previousBuild, project, result, timestamp, TREE_CUTOFF, UPDATE, XSTREAM, XSTREAM2 |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
FlowRun(BuildFlow job)
|
|
FlowRun(BuildFlow job,
File buildDir)
|
|
| Method Summary | |
|---|---|
void |
addBuild(JobInvocation job)
|
void |
doGetDot(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
BuildFlow |
getBuildFlow()
|
org.jgrapht.DirectedGraph<JobInvocation,FlowRun.JobEdge> |
getJobsGraph()
|
JobInvocation |
getStartJob()
|
void |
run()
|
| Methods inherited from class hudson.model.Build |
|---|
createRunner |
| Methods inherited from class hudson.model.AbstractBuild |
|---|
delete, doStop, due, getAggregatedTestResultAction, getBuildFingerprints, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getDownstreamRelationship, getEnvironment, getEnvironments, getHudsonVersion, getModuleRoot, getModuleRoots, getPersistentActions, getProject, getRootBuild, getSensitiveBuildVariables, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWhyKeepLog, getWorkspace, hasChangeSetComputed, hasParticipant, setBuiltOnStr, setWorkspace |
| Methods inherited from class hudson.model.Run |
|---|
addAction, checkPermission, compareTo, deleteArtifacts, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConfigSubmit, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, execute, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifacts, getArtifactsDir, getArtifactsUpTo, getBadgeActions, getBuildStatusSummary, getBuildStatusUrl, getCause, getCauses, getCharacteristicEnvVars, getCharset, getDescription, getDescriptorByName, getDisplayName, getDuration, getDurationString, getDynamic, getEnvironment, getEnvVars, getEstimatedDuration, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getIconColor, getId, getIDFormatter, getLog, getLog, getLogFile, getLogInputStream, getLogReader, getLogText, getNextBuild, getNumber, getOneOffExecutor, getPreviousBuild, getPreviousBuildInProgress, getPreviousBuildsOverThreshold, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getPreviousSuccessfulBuild, getResult, getRootDir, getSearchUrl, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTransientActions, getTruncatedDescription, getUrl, hasCustomDisplayName, hasntStartedYet, hasPermission, isBuilding, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onLoad, onStartBuilding, reload, run, save, setDescription, setDisplayName, setResult, submit, toString, writeLogTo, writeWholeLogTo |
| Methods inherited from class hudson.model.Actionable |
|---|
doContextMenu, getAction, getAction, getActions, getActions |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface hudson.model.Queue.Executable |
|---|
getEstimatedDuration, toString |
| Constructor Detail |
|---|
public FlowRun(BuildFlow job,
File buildDir)
throws IOException
IOException
public FlowRun(BuildFlow job)
throws IOException
IOException| Method Detail |
|---|
public org.jgrapht.DirectedGraph<JobInvocation,FlowRun.JobEdge> getJobsGraph()
public JobInvocation getStartJob()
public BuildFlow getBuildFlow()
public void doGetDot(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
IOException
public void addBuild(JobInvocation job)
throws ExecutionException,
InterruptedException
ExecutionException
InterruptedExceptionpublic void run()
run in interface hudson.model.Queue.Executablerun in interface Runnablerun in class hudson.model.Build<BuildFlow,FlowRun>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||