|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.maven.MavenReporter
hudson.plugins.analysis.core.HealthAwareReporter<TasksResult>
hudson.plugins.tasks.TasksReporter
public class TasksReporter
Publishes the results of the task scanner (maven 2 project type).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
TasksReporter(String pattern,
String excludePattern,
String healthy,
String unHealthy,
String thresholdLimit,
boolean useDeltaValues,
String unstableTotalAll,
String unstableTotalHigh,
String unstableTotalNormal,
String unstableTotalLow,
String unstableNewAll,
String unstableNewHigh,
String unstableNewNormal,
String unstableNewLow,
String failedTotalAll,
String failedTotalHigh,
String failedTotalNormal,
String failedTotalLow,
String failedNewAll,
String failedNewHigh,
String failedNewNormal,
String failedNewLow,
String high,
String normal,
String low,
boolean ignoreCase,
boolean canRunOnFailed,
boolean canComputeNew)
Creates a new instance of TasksReporter. |
|
| Method Summary | |
|---|---|
protected boolean |
acceptGoal(String goal)
|
protected hudson.maven.MavenAggregatedReport |
createMavenAggregatedReport(hudson.maven.MavenBuild build,
TasksResult result)
|
protected TasksResult |
createResult(hudson.maven.MavenBuild build,
hudson.plugins.analysis.core.ParserResult project)
|
String |
getExcludePattern()
Returns the Ant file-set pattern of files to exclude from work. |
String |
getHigh()
Returns the high priority task identifiers. |
boolean |
getIgnoreCase()
Returns whether case should be ignored during the scanning. |
String |
getLow()
Returns the low priority task identifiers. |
String |
getNormal()
Returns the normal priority task identifiers. |
String |
getPattern()
Returns the Ant file-set pattern to the workspace files. |
List<TasksProjectAction> |
getProjectActions(hudson.maven.MavenModule module)
|
protected Class<TasksMavenResultAction> |
getResultActionClass()
|
TasksParserResult |
perform(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.plugins.analysis.util.PluginLogger logger)
|
| Methods inherited from class hudson.plugins.analysis.core.HealthAwareReporter |
|---|
canComputeNew, canContinue, end, getCanComputeNew, getCanRunOnFailed, getDefaultEncoding, getDescriptor, getHealthy, getMinimumPriority, getModuleName, getTargetPath, getThresholdLimit, getThresholds, getUnHealthy, getUseDeltaValues, postExecute |
| Methods inherited from class hudson.maven.MavenReporter |
|---|
enterModule, getAggregatedProjectAction, getProjectAction, leaveModule, postBuild, preBuild, preExecute, reportGenerated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public TasksReporter(String pattern,
String excludePattern,
String healthy,
String unHealthy,
String thresholdLimit,
boolean useDeltaValues,
String unstableTotalAll,
String unstableTotalHigh,
String unstableTotalNormal,
String unstableTotalLow,
String unstableNewAll,
String unstableNewHigh,
String unstableNewNormal,
String unstableNewLow,
String failedTotalAll,
String failedTotalHigh,
String failedTotalNormal,
String failedTotalLow,
String failedNewAll,
String failedNewHigh,
String failedNewNormal,
String failedNewLow,
String high,
String normal,
String low,
boolean ignoreCase,
boolean canRunOnFailed,
boolean canComputeNew)
TasksReporter.
pattern - Ant file-set pattern of files to scan for open tasks inexcludePattern - Ant file-set pattern of files to exclude from scanhealthy - Report health as 100% when the number of warnings is less than
this valueunHealthy - Report health as 0% when the number of warnings is greater
than this valuethresholdLimit - determines which warning priorities should be considered when
evaluating the build stability and healthuseDeltaValues - determines whether the absolute annotations delta or the
actual annotations set difference should be used to evaluate
the build stabilityunstableTotalAll - annotation thresholdunstableTotalHigh - annotation thresholdunstableTotalNormal - annotation thresholdunstableTotalLow - annotation thresholdunstableNewAll - annotation thresholdunstableNewHigh - annotation thresholdunstableNewNormal - annotation thresholdunstableNewLow - annotation thresholdfailedTotalAll - annotation thresholdfailedTotalHigh - annotation thresholdfailedTotalNormal - annotation thresholdfailedTotalLow - annotation thresholdfailedNewAll - annotation thresholdfailedNewHigh - annotation thresholdfailedNewNormal - annotation thresholdfailedNewLow - annotation thresholdhigh - tag identifiers indicating high prioritynormal - tag identifiers indicating normal prioritylow - tag identifiers indicating low priorityignoreCase - if case should be ignored during matchingcanRunOnFailed - determines whether the plug-in can run for failed builds, too| Method Detail |
|---|
public String getPattern()
public String getExcludePattern()
public String getHigh()
public String getNormal()
public String getLow()
public boolean getIgnoreCase()
true if case should be ignored during the scanningprotected boolean acceptGoal(String goal)
acceptGoal in class hudson.plugins.analysis.core.HealthAwareReporter<TasksResult>
public TasksParserResult perform(hudson.maven.MavenBuildProxy build,
org.apache.maven.project.MavenProject pom,
hudson.maven.MojoInfo mojo,
hudson.plugins.analysis.util.PluginLogger logger)
throws InterruptedException,
IOException
perform in class hudson.plugins.analysis.core.HealthAwareReporter<TasksResult>InterruptedException
IOException
protected TasksResult createResult(hudson.maven.MavenBuild build,
hudson.plugins.analysis.core.ParserResult project)
createResult in class hudson.plugins.analysis.core.HealthAwareReporter<TasksResult>
protected hudson.maven.MavenAggregatedReport createMavenAggregatedReport(hudson.maven.MavenBuild build,
TasksResult result)
createMavenAggregatedReport in class hudson.plugins.analysis.core.HealthAwareReporter<TasksResult>public List<TasksProjectAction> getProjectActions(hudson.maven.MavenModule module)
getProjectActions in interface hudson.maven.MavenProjectActionBuildergetProjectActions in class hudson.maven.MavenReporterprotected Class<TasksMavenResultAction> getResultActionClass()
getResultActionClass in class hudson.plugins.analysis.core.HealthAwareReporter<TasksResult>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||