Class Provider

java.lang.Object
hudson.model.AbstractDescribableImpl<Provider>
io.jenkins.plugins.reporter.model.Provider
All Implemented Interfaces:
Describable<Provider>, Serializable
Direct Known Subclasses:
Csv, Json, Xml, Yaml

public abstract class Provider extends AbstractDescribableImpl<Provider> implements Serializable
See Also:
  • Constructor Details

    • Provider

      public Provider()
  • Method Details

    • readResolve

      protected Object readResolve()
      Called after de-serialization to retain backward compatibility.
      Returns:
      this
    • setId

      @DataBoundSetter public void setId(String id)
      Sets the id of this provider.
      Parameters:
      id - the id
    • getId

      public String getId()
    • getActualId

      public String getActualId()
      Returns the actual ID of the tool. If no user defined ID is given, then the default ID is returned.
      Returns:
      the ID
      See Also:
    • 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.
      Parameters:
      pattern - the pattern to use
    • getPattern

      @CheckForNull public String getPattern()
    • getSymbolName

      public String getSymbolName()
      Returns the Symbol name of this provider.
      Returns:
      the name of this provider, or "undefined" if no symbol has been defined
    • createParser

      public abstract ReportParser createParser()
    • getDescriptor

      public Provider.ProviderDescriptor getDescriptor()
      Specified by:
      getDescriptor in interface Describable<Provider>
      Overrides:
      getDescriptor in class AbstractDescribableImpl<Provider>
    • scan

      public Report scan(Run<?,?> run, FilePath workspace, LogHandler logger)