Klasse CoverageTokenMacro

java.lang.Object
org.jenkinsci.plugins.tokenmacro.TokenMacro
org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
io.jenkins.plugins.coverage.metrics.steps.CoverageTokenMacro
Alle implementierten Schnittstellen:
ExtensionPoint

@Extension(optional=true) public class CoverageTokenMacro extends org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
Provides a token that evaluates to the number of issues.
Autor:
Ullrich Hafner
  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro

    org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.Parameter

    Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson
  • Feldübersicht

    Von Klasse geerbte Felder org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro

    escapeHtml
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
     
    evaluate(AbstractBuild<?,?> abstractBuild, TaskListener taskListener, String macroName)
     
    evaluate(Run<?,?> run, FilePath workspace, TaskListener listener, String macroName)
     
    void
    setBaseline(String baseline)
    Defines which baseline should be used when evaluating the macro.
    void
    Determines which ID should be used to choose the action for the macro evaluation.
    void
    setMetric(String metric)
    Defines which metric should be used when evaluating the macro.

    Von Klasse geerbte Methoden org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro

    evaluate, evaluate, handlesHtmlEscapeInternally, hasNestedContent

    Von Klasse geerbte Methoden org.jenkinsci.plugins.tokenmacro.TokenMacro

    all, expand, expand, expand, expand, expandAll, expandAll, expandAll, expandAll, getAcceptedMacroNames, getAutoCompleteList, getPreviousRun, getWorkspace

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • CoverageTokenMacro

      public CoverageTokenMacro()
  • Methodendetails

    • setId

      public void setId(String id)
      Determines which ID should be used to choose the action for the macro evaluation.
      Parameter:
      id - the ID of the results to select
    • setMetric

      public void setMetric(String metric)
      Defines which metric should be used when evaluating the macro.
      Parameter:
      metric - the metric of the values to show
    • setBaseline

      public void setBaseline(String baseline)
      Defines which baseline should be used when evaluating the macro.
      Parameter:
      baseline - the baseline of the values to show
    • acceptsMacroName

      public boolean acceptsMacroName(String macroName)
      Angegeben von:
      acceptsMacroName in Klasse org.jenkinsci.plugins.tokenmacro.TokenMacro
    • evaluate

      public String evaluate(AbstractBuild<?,?> abstractBuild, TaskListener taskListener, String macroName)
      Angegeben von:
      evaluate in Klasse org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro
    • evaluate

      public String evaluate(Run<?,?> run, FilePath workspace, TaskListener listener, String macroName)
      Setzt außer Kraft:
      evaluate in Klasse org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro