|
||||||||||
| 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.maven.AbstractMavenBuild<MavenModuleSet,MavenModuleSetBuild>
hudson.maven.MavenModuleSetBuild
public class MavenModuleSetBuild
Build for MavenModuleSet.
A "build" of MavenModuleSet consists of:
MavenBuilds are done
on this.
| Nested Class Summary | |
|---|---|
static class |
MavenModuleSetBuild.SimpleTransferListener
will log in the TaskListener when transferFailed and transferSucceeded |
| Nested classes/interfaces inherited from class hudson.model.AbstractBuild |
|---|
AbstractBuild.AbstractRunner, AbstractBuild.DependencyChange |
| Nested classes/interfaces inherited from class hudson.model.Run |
|---|
Run.Artifact, Run.ArtifactList, Run.KeepLogBuildBadge, Run.RedirectUp, Run.Runner, Run.RunnerAbortedException, Run.Summary |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
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 |
|---|
ARTIFACTS, 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 | |
|---|---|
MavenModuleSetBuild(MavenModuleSet job)
|
|
MavenModuleSetBuild(MavenModuleSet project,
File buildDir)
|
|
| Method Summary | ||
|---|---|---|
void |
delete()
|
|
|
findModuleBuildActions(Class<T> action)
Finds Actions from all the module builds that belong to this
MavenModuleSetBuild. |
|
Fingerprint.RangeSet |
getDownstreamRelationship(AbstractProject that)
|
|
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
|
EnvVars |
getEnvironment(TaskListener log)
Exposes MAVEN_OPTS to forked processes. |
|
long |
getEstimatedDuration()
Returns the estimated duration for this builds. |
|
String |
getMavenVersionUsed()
Gets the version of Maven used for build. |
|
Map<MavenModule,List<MavenBuild>> |
getModuleBuilds()
Computes the module builds that correspond to this build. |
|
Map<MavenModule,MavenBuild> |
getModuleLastBuilds()
Computes the latest module builds that correspond to this build. |
|
MavenModuleSet |
getParent()
|
|
Result |
getResult()
Displays the combined status of all modules. |
|
void |
registerAsProjectAction(MavenReporter reporter)
|
|
void |
run()
|
|
void |
setMavenVersionUsed(String mavenVersionUsed)
|
|
| Methods inherited from class hudson.model.Actionable |
|---|
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 MavenModuleSetBuild(MavenModuleSet job)
throws IOException
IOException
public MavenModuleSetBuild(MavenModuleSet project,
File buildDir)
throws IOException
IOException| Method Detail |
|---|
public EnvVars getEnvironment(TaskListener log)
throws IOException,
InterruptedException
MAVEN_OPTS to forked processes.
When we fork Maven, 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
MavenProcessFactory), but setting the environment variable explicitly is still
useful in case this Maven forks other Maven processes via normal way. See HUDSON-3644.
getEnvironment in class AbstractBuild<MavenModuleSet,MavenModuleSetBuild>IOException
InterruptedExceptionpublic 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 Run<MavenModuleSet,MavenModuleSetBuild>public Map<MavenModule,List<MavenBuild>> getModuleBuilds()
A module may be built multiple times (by the user action), so the value is a list.
public long getEstimatedDuration()
getEstimatedDuration in interface Queue.ExecutablegetEstimatedDuration in class Run<MavenModuleSet,MavenModuleSetBuild>public String getMavenVersionUsed()
public void setMavenVersionUsed(String mavenVersionUsed)
throws IOException
IOException
public void delete()
throws IOException
delete in class AbstractBuild<MavenModuleSet,MavenModuleSetBuild>IOException
public Object getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
getDynamic in class Run<MavenModuleSet,MavenModuleSetBuild>public Map<MavenModule,MavenBuild> getModuleLastBuilds()
public void registerAsProjectAction(MavenReporter reporter)
public <T extends Action> List<T> findModuleBuildActions(Class<T> action)
Actions from all the module builds that belong to this
MavenModuleSetBuild. One action per one MavenModule,
and newer ones take precedence over older ones.
public void run()
run in interface Queue.Executablerun in interface Runnablerun in class AbstractBuild<MavenModuleSet,MavenModuleSetBuild>public Fingerprint.RangeSet getDownstreamRelationship(AbstractProject that)
getDownstreamRelationship in class AbstractBuild<MavenModuleSet,MavenModuleSetBuild>public MavenModuleSet getParent()
getParent in interface Queue.ExecutablegetParent in class AbstractBuild<MavenModuleSet,MavenModuleSetBuild>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||