hudson.plugins.tasks
Class TasksResultAction

java.lang.Object
  extended by hudson.plugins.analysis.core.AbstractResultAction<TasksResult>
      extended by hudson.plugins.tasks.TasksResultAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, hudson.plugins.analysis.core.ResultAction<TasksResult>, hudson.plugins.analysis.util.ToolTipProvider, org.kohsuke.stapler.StaplerProxy
Direct Known Subclasses:
MavenTasksResultAction

public class TasksResultAction
extends hudson.plugins.analysis.core.AbstractResultAction<TasksResult>

Controls the live cycle of the task scanner results. This action persists the results of the task scanner of a build and displays the results on the build page. The actual visualization of the results is defined in the matching summary.jelly file.

Moreover, this class renders the tasks scanner result trend.

Author:
Ulli Hafner

Constructor Summary
TasksResultAction(hudson.model.AbstractBuild<?,?> owner, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor)
          Creates a new instance of TasksResultAction.
TasksResultAction(hudson.model.AbstractBuild<?,?> owner, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, TasksResult result)
          Creates a new instance of TasksResultAction.
 
Method Summary
protected  hudson.plugins.analysis.core.PluginDescriptor getDescriptor()
           
 String getDisplayName()
          
 String getMultipleItemsTooltip(int numberOfItems)
           
 String getSingleItemTooltip()
           
 
Methods inherited from class hudson.plugins.analysis.core.AbstractResultAction
addModule, createAggregatedResult, createResult, getBuild, getBuildHealth, getHealthDescriptor, getIconFileName, getLargeImageName, getOwner, getResult, getSmallImage, getSmallImageName, getTarget, getTooltip, getToolTipProvider, getUrlName, hasLargeImage, isSuccessful, setResult, updateBuildHealth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksResultAction

public TasksResultAction(hudson.model.AbstractBuild<?,?> owner,
                         hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
                         TasksResult result)
Creates a new instance of TasksResultAction.

Parameters:
owner - the associated build of this action
healthDescriptor - health descriptor to use
result - the result in this build

TasksResultAction

public TasksResultAction(hudson.model.AbstractBuild<?,?> owner,
                         hudson.plugins.analysis.core.HealthDescriptor healthDescriptor)
Creates a new instance of TasksResultAction.

Parameters:
owner - the associated build of this action
healthDescriptor - health descriptor to use
Method Detail

getDisplayName

public String getDisplayName()


getDescriptor

protected hudson.plugins.analysis.core.PluginDescriptor getDescriptor()
Specified by:
getDescriptor in class hudson.plugins.analysis.core.AbstractResultAction<TasksResult>

getMultipleItemsTooltip

public String getMultipleItemsTooltip(int numberOfItems)
Overrides:
getMultipleItemsTooltip in class hudson.plugins.analysis.core.AbstractResultAction<TasksResult>

getSingleItemTooltip

public String getSingleItemTooltip()
Overrides:
getSingleItemTooltip in class hudson.plugins.analysis.core.AbstractResultAction<TasksResult>


Copyright © 2004-2012 Hudson. All Rights Reserved.