jenkins.plugins.clangscanbuild.actions
Class ClangScanBuildProjectAction

java.lang.Object
  extended by jenkins.plugins.clangscanbuild.actions.ClangScanBuildProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class ClangScanBuildProjectAction
extends Object
implements hudson.model.Action

This contributes the menu to the left used to access reports/whatever from inside a project. This is called a "ProjectAction" because it contributes a link to the left and a URL to a specific projects dashboard.

Author:
Josh Kennedy

Field Summary
 hudson.model.AbstractProject<?,?> project
           
 
Constructor Summary
ClangScanBuildProjectAction(hudson.model.AbstractProject<?,?> project)
           
 
Method Summary
 boolean buildDataExists()
           
 void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 void doMap(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 String getDisplayName()
           
 ClangBuildGraph getGraph()
          Doing this wastefully because i do not know the lifecycle of this object.
 String getIconFileName()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

public final hudson.model.AbstractProject<?,?> project
Constructor Detail

ClangScanBuildProjectAction

public ClangScanBuildProjectAction(hudson.model.AbstractProject<?,?> project)
Method Detail

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getGraph

public ClangBuildGraph getGraph()
Doing this wastefully because i do not know the lifecycle of this object. Is it a singleton?


getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

doGraph

public void doGraph(org.kohsuke.stapler.StaplerRequest req,
                    org.kohsuke.stapler.StaplerResponse rsp)
             throws IOException
Throws:
IOException

doMap

public void doMap(org.kohsuke.stapler.StaplerRequest req,
                  org.kohsuke.stapler.StaplerResponse rsp)
           throws IOException
Throws:
IOException

buildDataExists

public boolean buildDataExists()


Copyright © 2004-2012. All Rights Reserved.