Class BaseResult

java.lang.Object
hudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
com.jenkins.testresultsaggregator.data.BaseResult
All Implemented Interfaces:
ModelObject, SearchableModelObject, SearchItem, Serializable
Direct Known Subclasses:
Aggregated

@ExportedBean public abstract class BaseResult extends hudson.tasks.test.TabulatedResult implements ModelObject, Serializable
Base class that takes care of all the common functionality of the different kinds of test results.
See Also:
  • Field Details

    • run

      protected Run<?,?> run
    • name

      protected final String name
    • parent

      protected BaseResult parent
  • Constructor Details

    • BaseResult

      public BaseResult(String name)
  • Method Details

    • getName

      @Exported(visibility=999) public String getName()
      Overrides:
      getName in class hudson.tasks.test.TestObject
    • getParent

      public BaseResult getParent()
      Specified by:
      getParent in class hudson.tasks.test.TestObject
    • setParent

      public void setParent(BaseResult parent)
    • getRun

      public Run<?,?> getRun()
      Overrides:
      getRun in class hudson.tasks.junit.TestObject
    • setRun

      public void setRun(Run<?,?> run)
    • getTitle

      public String getTitle()
      Overrides:
      getTitle in class hudson.tasks.test.TestResult
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface ModelObject
    • getUpUrl

      public String getUpUrl()
    • getDynamic

      public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
      Overrides:
      getDynamic in class hudson.tasks.test.TestObject
    • getTestResultAction

      public hudson.tasks.test.AbstractTestResultAction getTestResultAction()
      Overrides:
      getTestResultAction in class hudson.tasks.test.TestObject
    • getParentAction

      public hudson.tasks.test.AbstractTestResultAction getParentAction()
      Overrides:
      getParentAction in class hudson.tasks.test.TestResult
    • findCorrespondingResult

      public hudson.tasks.test.TestResult findCorrespondingResult(String id)
      Specified by:
      findCorrespondingResult in class hudson.tasks.test.TestObject
    • getAge

      public long getAge()