nl.codecentric.jenkins.appd
Class AppDynamicsProjectAction

java.lang.Object
  extended by nl.codecentric.jenkins.appd.AppDynamicsProjectAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class AppDynamicsProjectAction
extends Object
implements hudson.model.Action

The Action that will be executed from your project and fetch the AppDynamics performance data and display after a build. The Project Action will show the graph for overall performance from all builds.


Constructor Summary
AppDynamicsProjectAction(hudson.model.AbstractProject project, String mainMetricKey, String[] allMetricKeys)
           
 
Method Summary
 void doSummarizerGraphForMetric(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          Graph of metric points over time, metric to plot set as request parameter.
 void doSummarizerGraphMainMetric(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          Graph of metric points over time.
 List<String> getAvailableMetricKeys()
           
 String getDisplayName()
           
 String getIconFileName()
           
 hudson.model.AbstractProject<?,?> getProject()
          Method necessary to get the side-panel included in the Jelly file
 String getUrlName()
           
 boolean isTrendVisibleOnProjectDashboard()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppDynamicsProjectAction

public AppDynamicsProjectAction(hudson.model.AbstractProject project,
                                String mainMetricKey,
                                String[] allMetricKeys)
Method Detail

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

getIconFileName

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

getProject

public hudson.model.AbstractProject<?,?> getProject()
Method necessary to get the side-panel included in the Jelly file

Returns:
this AbstractProject

isTrendVisibleOnProjectDashboard

public boolean isTrendVisibleOnProjectDashboard()

getAvailableMetricKeys

public List<String> getAvailableMetricKeys()

doSummarizerGraphMainMetric

public void doSummarizerGraphMainMetric(org.kohsuke.stapler.StaplerRequest request,
                                        org.kohsuke.stapler.StaplerResponse response)
                                 throws IOException
Graph of metric points over time.

Throws:
IOException

doSummarizerGraphForMetric

public void doSummarizerGraphForMetric(org.kohsuke.stapler.StaplerRequest request,
                                       org.kohsuke.stapler.StaplerResponse response)
                                throws IOException
Graph of metric points over time, metric to plot set as request parameter.

Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.