Klasse CoverageTool

java.lang.Object
hudson.model.AbstractDescribableImpl<CoverageTool>
io.jenkins.plugins.coverage.metrics.steps.CoverageTool
Alle implementierten Schnittstellen:
Describable<CoverageTool>, Serializable

public class CoverageTool extends AbstractDescribableImpl<CoverageTool> implements Serializable
A coverage tool that can produce a coverage tree by parsing a given report file.
Autor:
Ullrich Hafner
Siehe auch:
  • Konstruktordetails

    • CoverageTool

      @DataBoundConstructor public CoverageTool()
      Creates a new CoverageTool.
  • Methodendetails

    • getParser

      public CoverageTool.Parser getParser()
    • setParser

      @DataBoundSetter public void setParser(CoverageTool.Parser parser)
      Sets the parser to be used to read the input files.
      Parameter:
      parser - the parser to use
    • readResolve

      protected Object readResolve()
      Called after de-serialization to retain backward compatibility.
      Gibt zurück:
      this
    • setPattern

      @DataBoundSetter public void setPattern(String pattern)
      Sets the Ant file-set pattern of files to work with. If the pattern is undefined, then the console log is scanned.
      Parameter:
      pattern - the pattern to use
    • getPattern

      @CheckForNull public String getPattern()
    • getActualPattern

      public String getActualPattern()
      Returns the actual pattern to work with. If no user-defined pattern is given, then the default pattern is returned.
      Gibt zurück:
      the name
      Siehe auch:
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • getDescriptor

      public CoverageTool.CoverageToolDescriptor getDescriptor()
      Angegeben von:
      getDescriptor in Schnittstelle Describable<CoverageTool>
      Setzt außer Kraft:
      getDescriptor in Klasse AbstractDescribableImpl<CoverageTool>
    • getDisplayName

      public String getDisplayName()