org.jenkinsci.plugins.android_lint
Class LintProjectAction

java.lang.Object
  extended by hudson.plugins.analysis.core.AbstractProjectAction<hudson.plugins.analysis.core.ResultAction<LintResult>>
      extended by org.jenkinsci.plugins.android_lint.LintProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class LintProjectAction
extends hudson.plugins.analysis.core.AbstractProjectAction<hudson.plugins.analysis.core.ResultAction<LintResult>>

Entry point to visualize the trend graph in the project screen.

Drawing of the graph is delegated to the associated ResultAction.


Constructor Summary
LintProjectAction(hudson.model.AbstractProject<?,?> project)
          Instantiates a new LintProjectAction.
LintProjectAction(hudson.model.AbstractProject<?,?> project, Class<? extends hudson.plugins.analysis.core.ResultAction<LintResult>> type)
          Instantiates a new LintProjectAction.
 
Method Summary
 String getDisplayName()
           
 String getTrendName()
           
 
Methods inherited from class hudson.plugins.analysis.core.AbstractProjectAction
canShowEnableTrendLink, createBuildHistory, createConfiguration, createDefaultConfiguration, createUserConfiguration, doIndex, getAvailableGraphs, getDynamic, getIconFileName, getLastAction, getLastFinishedBuild, getProject, getResultAction, getTrendDetails, getTrendDetails, getTrendGraph, getTrendGraph, getUrlName, hasValidResults, isTrendDeactivated, isTrendVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LintProjectAction

public LintProjectAction(hudson.model.AbstractProject<?,?> project)
Instantiates a new LintProjectAction.

Parameters:
project - The project that owns this action.

LintProjectAction

public LintProjectAction(hudson.model.AbstractProject<?,?> project,
                         Class<? extends hudson.plugins.analysis.core.ResultAction<LintResult>> type)
Instantiates a new LintProjectAction.

Parameters:
project - The project that owns this action.
type - The result action type.
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject
Overrides:
getDisplayName in class hudson.plugins.analysis.core.AbstractProjectAction<hudson.plugins.analysis.core.ResultAction<LintResult>>

getTrendName

public String getTrendName()
Overrides:
getTrendName in class hudson.plugins.analysis.core.AbstractProjectAction<hudson.plugins.analysis.core.ResultAction<LintResult>>


Copyright © 2004-2013. All Rights Reserved.