|
||||||||||
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<MatrixProject,MatrixBuild>
hudson.matrix.MatrixBuild
public class MatrixBuild
Build of MatrixProject
.
Nested Class Summary | |
---|---|
class |
MatrixBuild.MatrixBuildExecution
Object that lives from the start of MatrixBuild execution to its end. |
class |
MatrixBuild.RunPtr
Used by view to render a ball for MatrixRun . |
Nested classes/interfaces inherited from class hudson.model.AbstractBuild |
---|
AbstractBuild.AbstractBuildExecution, AbstractBuild.AbstractRunner, AbstractBuild.DependencyChange |
Nested classes/interfaces inherited from class hudson.model.Run |
---|
Run.Artifact, Run.ArtifactList, Run.KeepLogBuildBadge, Run.RedirectUp, Run.RunExecution, Run.Runner, Run.RunnerAbortedException, Run.Summary |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu |
---|
ModelObjectWithContextMenu.ContextMenu, 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, number, ORDER_BY_DATE, PERMISSIONS, project, result, state, timestamp, TREE_CUTOFF, UPDATE, XSTREAM, XSTREAM2 |
Fields inherited from interface hudson.model.Saveable |
---|
NOOP |
Constructor Summary | |
---|---|
MatrixBuild(MatrixProject job)
|
|
MatrixBuild(MatrixProject job,
Calendar timestamp)
|
|
MatrixBuild(MatrixProject project,
File buildDir)
|
Method Summary | |
---|---|
void |
doDoDeleteAll(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Deletes the build and all matrix configurations in this build when the button is pressed. |
MatrixBuild |
getBaseBuild()
Returns the base MatrixBuild that this build originates from. |
Fingerprint.RangeSet |
getDownstreamRelationship(AbstractProject that)
Gets the dependency relationship from this build (as the source) and that project (as the sink.) |
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
MatrixRun |
getExactRun(Combination c)
Like getRun(Combination) , but do not approximate the result by earlier execution
of the given combination (which is done for partial rebuild of the matrix.) |
List<MatrixRun> |
getExactRuns()
Returns all MatrixRun s for exactly this MatrixBuild . |
Layouter<MatrixBuild.RunPtr> |
getLayouter()
|
MatrixRun |
getRun(Combination c)
Gets the MatrixRun in this build that corresponds
to the given combination. |
List<MatrixRun> |
getRuns()
Returns all MatrixRun s for this MatrixBuild . |
String |
getWhyKeepLog()
If Run.isKeepLog() returns true, returns a short, human-readable
sentence that explains why it's being kept. |
boolean |
isLinkedBy(MatrixBuild b)
|
boolean |
isPartial()
True if this build didn't do a full build and it is depending on the result of the previous build. |
Object |
readResolve()
|
void |
run()
Invoked by Executor to performs a build. |
void |
setBaseBuild(MatrixBuild baseBuild)
Sets the base build from which this build is derived. |
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, toString, wait, wait, wait |
Methods inherited from interface hudson.model.Queue.Executable |
---|
getEstimatedDuration, getParent, toString |
Constructor Detail |
---|
public MatrixBuild(MatrixProject job) throws IOException
IOException
public MatrixBuild(MatrixProject job, Calendar timestamp)
public MatrixBuild(MatrixProject project, File buildDir) throws IOException
IOException
Method Detail |
---|
public Object readResolve()
public void doDoDeleteAll(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public Layouter<MatrixBuild.RunPtr> getLayouter()
public void setBaseBuild(MatrixBuild baseBuild)
public MatrixBuild getBaseBuild()
MatrixBuild
that this build originates from.
If this build is a partial build, unexecuted MatrixRun
s are delegated to this build number.
public MatrixRun getRun(Combination c)
MatrixRun
in this build that corresponds
to the given combination.
public MatrixRun getExactRun(Combination c)
getRun(Combination)
, but do not approximate the result by earlier execution
of the given combination (which is done for partial rebuild of the matrix.)
@Exported public List<MatrixRun> getRuns()
MatrixRun
s for this MatrixBuild
.
public List<MatrixRun> getExactRuns()
MatrixRun
s for exactly this MatrixBuild
.
Unlike getRuns()
, this method excludes those runs
that didn't run and got inherited.
public String getWhyKeepLog()
Run
Run.isKeepLog()
returns true, returns a short, human-readable
sentence that explains why it's being kept.
getWhyKeepLog
in class AbstractBuild<MatrixProject,MatrixBuild>
public boolean isLinkedBy(MatrixBuild b)
MatrixBuild
build (passed as a parameter) depends on this build.public boolean isPartial()
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic
in class Run<MatrixProject,MatrixBuild>
public void run()
AbstractBuild
Executor
to performs a build.
run
in interface Queue.Executable
run
in interface Runnable
run
in class AbstractBuild<MatrixProject,MatrixBuild>
public Fingerprint.RangeSet getDownstreamRelationship(AbstractProject that)
AbstractBuild
getDownstreamRelationship
in class AbstractBuild<MatrixProject,MatrixBuild>
Fingerprinter.FingerprintAction
), but it'll never be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |