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
 java.lang.String annotate(java.lang.String text)
          This method is apparently for annotating the the actual "Error Message", "Stack Trace", "Standard Output", etc.
 java.lang.StringBuffer getAbsoluteTestObjectUrl()
          Returns the full URL to the TestObject.
 java.lang.StringBuffer getAbsoluteUrl()
          Returns the absolute URL to this object.
 hudson.model.AbstractBuild<?,?> getBuild()
           
 java.lang.String getDisplayName()
          This is the text that is displayed in the sidebar.
 java.lang.Object getDynamic(java.lang.String urlComponentName, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 java.lang.String getIconFileName()
          This is the icon that is displayed in the sidebar.
 Measurement getMeasurement(java.lang.String name)
           
 TestObjectMeasurements getMeasurements()
           
 hudson.tasks.test.TestObject getTestObject()
           
 java.lang.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(java.lang.String name)
Returns:
Return the named measurement.

getDynamic

public java.lang.Object getDynamic(java.lang.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 java.lang.StringBuffer getAbsoluteTestObjectUrl()
Returns the full URL to the TestObject.


getAbsoluteUrl

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


getIconFileName

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


getDisplayName

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


getUrlName

public java.lang.String getUrlName()

annotate

public java.lang.String annotate(java.lang.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 © 2010. All Rights Reserved.