|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.tasks.util.AbstractResultAction<TasksResult>
hudson.plugins.tasks.TasksResultAction
hudson.plugins.tasks.MavenTasksResultAction
public class MavenTasksResultAction
A TasksResultAction for native maven jobs. This action
additionally provides result aggregation for sub-modules and for the main
project.
| Constructor Summary | |
|---|---|
MavenTasksResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
java.lang.String high,
java.lang.String normal,
java.lang.String low)
Creates a new instance of MavenTasksResultAction. |
|
MavenTasksResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
java.lang.String high,
java.lang.String normal,
java.lang.String low,
TasksResult result)
Creates a new instance of MavenTasksResultAction. |
|
| Method Summary | |
|---|---|
hudson.maven.MavenAggregatedReport |
createAggregatedAction(hudson.maven.MavenModuleSetBuild build,
java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds)
|
protected ParserResult |
createResult()
Factory method to create the result of this action. |
java.lang.Class<? extends hudson.maven.AggregatableAction> |
getIndividualActionType()
|
hudson.model.Action |
getProjectAction(hudson.maven.MavenModuleSet moduleSet)
|
void |
update(java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds,
hudson.maven.MavenBuild newBuild)
Called whenever a new module build is completed, to update the aggregated report. |
| Methods inherited from class hudson.plugins.tasks.TasksResultAction |
|---|
getDescriptor, getDisplayName, getMultipleItemsTooltip, getPreviousResultAction, getSingleItemTooltip |
| Methods inherited from class hudson.plugins.tasks.util.AbstractResultAction |
|---|
addModule, createAggregatedResult, getBuild, getBuildHealth, getHealthDescriptor, getIconFileName, getOwner, getPreviousBuild, getResult, getTarget, getTooltip, getToolTipProvider, getUrlName, hasPreviousResultAction, setResult, updateBuildHealth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.Action |
|---|
getDisplayName, getIconFileName, getUrlName |
| Constructor Detail |
|---|
public MavenTasksResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
java.lang.String high,
java.lang.String normal,
java.lang.String low,
TasksResult result)
MavenTasksResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptor to usedefaultEncoding - the default encoding to be used when reading and parsing fileshigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low priorityresult - the result in this build
public MavenTasksResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
java.lang.String high,
java.lang.String normal,
java.lang.String low)
MavenTasksResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptor to usedefaultEncoding - the default encoding to be used when reading and parsing fileshigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low priority| Method Detail |
|---|
public hudson.maven.MavenAggregatedReport createAggregatedAction(hudson.maven.MavenModuleSetBuild build,
java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds)
createAggregatedAction in interface hudson.maven.AggregatableActionpublic hudson.model.Action getProjectAction(hudson.maven.MavenModuleSet moduleSet)
getProjectAction in interface hudson.maven.MavenAggregatedReportpublic java.lang.Class<? extends hudson.maven.AggregatableAction> getIndividualActionType()
getIndividualActionType in interface hudson.maven.MavenAggregatedReport
public void update(java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds,
hudson.maven.MavenBuild newBuild)
update in interface hudson.maven.MavenAggregatedReportmoduleBuilds - Same as MavenModuleSet.getModuleBuilds() but provided
for convenience and efficiency.newBuild - Newly completed build.protected ParserResult createResult()
createResult in class AbstractResultAction<TasksResult>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||