Klasse ByIdResultSelector

java.lang.Object
io.jenkins.plugins.analysis.core.model.ByIdResultSelector
Alle implementierten Schnittstellen:
ResultSelector

public class ByIdResultSelector extends Object implements ResultSelector
Selects actions using the specific ID of an action.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • ByIdResultSelector

      public ByIdResultSelector(String id)
      Creates a new instance of ByIdResultSelector.
      Parameter:
      id - the ID of the result
  • Methodendetails

    • get

      public Optional<ResultAction> get(Run<?,?> build)
      Beschreibung aus Schnittstelle kopiert: ResultSelector
      Tries to find a result action of the specified build that should be used to compute the history.
      Angegeben von:
      get in Schnittstelle ResultSelector
      Parameter:
      build - the build
      Gibt zurück:
      the result action, if there is one attached to the job
    • toString

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