hudson.plugins.measurement_plots
Class TestAction

java.lang.Object
  extended by hudson.tasks.junit.TestAction
      extended by hudson.plugins.measurement_plots.TestAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class TestAction
extends hudson.tasks.junit.TestAction

Author:
krwalker

Method Summary
 String annotate(String text)
          This method is apparently for annotating the the actual "Error Message", "Stack Trace", "Standard Output", etc.
 StringBuffer getAbsoluteTestObjectUrl()
          Returns the full URL to the TestObject.
 StringBuffer getAbsoluteUrl()
          Returns the absolute URL to this object.
 hudson.model.AbstractBuild<?,?> getBuild()
           
 String getDisplayName()
          This is the text that is displayed in the sidebar.
 Object getDynamic(String urlComponentName, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 String getIconFileName()
          This is the icon that is displayed in the sidebar.
 Measurement getMeasurement(String name)
           
 TestObjectMeasurements getMeasurements()
           
 hudson.tasks.test.TestObject getTestObject()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMeasurement

public Measurement getMeasurement(String name)
Returns:
Return the named measurement.

getDynamic

public Object getDynamic(String urlComponentName,
                         org.kohsuke.stapler.StaplerRequest request,
                         org.kohsuke.stapler.StaplerResponse response)
Returns:
Return the measurement based on the URL component name.

getMeasurements

public TestObjectMeasurements getMeasurements()

getTestObject

public hudson.tasks.test.TestObject getTestObject()

getBuild

public hudson.model.AbstractBuild<?,?> getBuild()

getAbsoluteTestObjectUrl

public StringBuffer getAbsoluteTestObjectUrl()
Returns the full URL to the TestObject.


getAbsoluteUrl

public StringBuffer getAbsoluteUrl()
Returns the absolute URL to this object.


getIconFileName

public String getIconFileName()
This is the icon that is displayed in the sidebar. This plugin does not currently use the sidebar.


getDisplayName

public String getDisplayName()
This is the text that is displayed in the sidebar. This plugin does not currently use the sidebar.


getUrlName

public String getUrlName()

annotate

public String annotate(String text)
This method is apparently for annotating the the actual "Error Message", "Stack Trace", "Standard Output", etc. raw text. This is not currently necessary.

Overrides:
annotate in class hudson.tasks.junit.TestAction


Copyright © 2004-2013 Hudson. All Rights Reserved.