|
|||||||||
| 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.ivy.AbstractIvyBuild<IvyModuleSet,IvyModuleSetBuild>
hudson.ivy.IvyModuleSetBuild
public class IvyModuleSetBuild
Build for IvyModuleSet.
A "build" of IvyModuleSet consists of:
IvyBuilds are done on
this.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.AbstractBuild |
|---|
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.Runner, hudson.model.Run.RunnerAbortedException, hudson.model.Run.Summary |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
static boolean |
debug
Extra verbose debug switch. |
| Fields inherited from class hudson.model.AbstractBuild |
|---|
buildEnvironments |
| Fields inherited from class hudson.model.Run |
|---|
charset, DELETE, description, duration, FEED_ADAPTER, FEED_ADAPTER_LATEST, ID_FORMATTER, LIST_CUTOFF, nextBuild, number, ORDER_BY_DATE, PERMISSIONS, previousBuild, project, result, state, timestamp, TREE_CUTOFF, UPDATE, XSTREAM |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
IvyModuleSetBuild(IvyModuleSet job)
|
|
IvyModuleSetBuild(IvyModuleSet project,
java.io.File buildDir)
|
|
| Method Summary | ||
|---|---|---|
|
findModuleBuildActions(java.lang.Class<T> action)
Finds Actions from all the module builds that belong to this
IvyModuleSetBuild. |
|
hudson.model.Fingerprint.RangeSet |
getDownstreamRelationship(hudson.model.AbstractProject that)
|
|
java.lang.Object |
getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
|
hudson.EnvVars |
getEnvironment(hudson.model.TaskListener log)
Exposes ANT_OPTS to forked processes. |
|
java.util.Map<IvyModule,java.util.List<IvyBuild>> |
getModuleBuilds()
Computes the module builds that correspond to this build. |
|
java.util.Map<IvyModule,IvyBuild> |
getModuleLastBuilds()
Computes the latest module builds that correspond to this build. |
|
IvyModuleSet |
getParent()
|
|
hudson.model.Result |
getResult()
Displays the combined status of all modules. |
|
void |
registerAsProjectAction(IvyReporter reporter)
|
|
void |
run()
|
|
| Methods inherited from class hudson.ivy.AbstractIvyBuild |
|---|
scheduleDownstreamBuilds |
| Methods inherited from class hudson.model.AbstractBuild |
|---|
delete, doStop, due, getBuildVariableResolver, getBuildVariables, getBuiltOn, getBuiltOnStr, getChangeSet, getCulprits, getDependencyChanges, getDownstreamBuilds, getDownstreamBuilds, getHudsonVersion, getModuleRoot, getModuleRoots, getProject, getTestResultAction, getTransitiveUpstreamBuilds, getUpstreamBuilds, getUpstreamRelationship, getUpstreamRelationshipBuild, getUpUrl, getWhyKeepLog, getWorkspace, hasChangeSetComputed, hasParticipant, setWorkspace |
| Methods inherited from class hudson.model.Run |
|---|
checkPermission, compareTo, doArtifact, doBuildNumber, doBuildStatus, doBuildTimestamp, doConsoleText, doDoDelete, doProgressiveLog, doSubmitDescription, doToggleLogKeep, fromExternalizableId, getAbsoluteUrl, getACL, getApi, getArtifacts, getArtifactsDir, getBadgeActions, getBuildStatusSummary, getBuildStatusUrl, getCauses, getCharacteristicEnvVars, getCharset, getDescription, getDescriptorByName, getDisplayName, getDuration, getDurationString, getEnvironment, getEnvVars, getExecutor, getExternalizableId, getFullDisplayName, getHasArtifacts, getIconColor, getId, getIDFormatter, getLog, getLog, getLogFile, getLogReader, getNextBuild, getNumber, getPreviousBuild, getPreviousBuildInProgress, getPreviousBuiltBuild, getPreviousCompletedBuild, getPreviousFailedBuild, getPreviousNotFailedBuild, getRootDir, getSearchUrl, getTime, getTimeInMillis, getTimestamp, getTimestampString, getTimestampString2, getTruncatedDescription, getUrl, hasntStartedYet, hasPermission, isBuilding, isKeepLog, isLogUpdated, keepLog, keepLog, makeSearchIndex, onEndBuilding, onStartBuilding, run, save, setDescription, setResult, toString |
| Methods inherited from class hudson.model.Actionable |
|---|
addAction, 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 |
|---|
toString |
| Field Detail |
|---|
public static boolean debug
| Constructor Detail |
|---|
public IvyModuleSetBuild(IvyModuleSet job)
throws java.io.IOException
java.io.IOException
public IvyModuleSetBuild(IvyModuleSet project,
java.io.File buildDir)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public hudson.EnvVars getEnvironment(hudson.model.TaskListener log)
throws java.io.IOException,
java.lang.InterruptedException
ANT_OPTS to forked processes.
When we fork Ant, we do so directly by executing Java, thus this
environment variable is pointless (we have to tweak JVM launch option
correctly instead, which can be seen in IvyProcessFactory), but
setting the environment variable explicitly is still useful in case this
Ant forks other Ant processes via normal way. See HUDSON-3644.
getEnvironment in class hudson.model.AbstractBuild<IvyModuleSet,IvyModuleSetBuild>java.io.IOException
java.lang.InterruptedExceptionpublic hudson.model.Result getResult()
More precisely, this picks up the status of this build itself, plus all the latest builds of the modules that belongs to this build.
getResult in class hudson.model.Run<IvyModuleSet,IvyModuleSetBuild>public java.util.Map<IvyModule,java.util.List<IvyBuild>> getModuleBuilds()
A module may be built multiple times (by the user action), so the value is a list.
public java.lang.Object getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class hudson.model.Run<IvyModuleSet,IvyModuleSetBuild>public java.util.Map<IvyModule,IvyBuild> getModuleLastBuilds()
public void registerAsProjectAction(IvyReporter reporter)
public <T extends hudson.model.Action> java.util.List<T> findModuleBuildActions(java.lang.Class<T> action)
Actions from all the module builds that belong to this
IvyModuleSetBuild. One action per one IvyModule, and
newer ones take precedence over older ones.
public void run()
run in interface hudson.model.Queue.Executablerun in interface java.lang.Runnablerun in class hudson.model.AbstractBuild<IvyModuleSet,IvyModuleSetBuild>public hudson.model.Fingerprint.RangeSet getDownstreamRelationship(hudson.model.AbstractProject that)
getDownstreamRelationship in class hudson.model.AbstractBuild<IvyModuleSet,IvyModuleSetBuild>public IvyModuleSet getParent()
getParent in interface hudson.model.Queue.ExecutablegetParent in class hudson.model.AbstractBuild<IvyModuleSet,IvyModuleSetBuild>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||