Class FactsBuilder

java.lang.Object
jenkins.plugins.office365connector.FactsBuilder

public class FactsBuilder extends Object
Collects helper methods that create instance of Fact class.
Author:
Damian Szczepanik (damianszczepanik@github)
  • Field Details

  • Constructor Details

  • Method Details

    • addStatus

      public void addStatus(String status)
    • addFailingSinceBuild

      public void addFailingSinceBuild(int buildNumber)
    • addRemarks

      public void addRemarks()
    • addCommitters

      public void addCommitters()
    • addDevelopers

      public void addDevelopers()
    • addUserFacts

      public void addUserFacts(List<FactDefinition> factDefinitions)
    • addFact

      public void addFact(String name, String value)
    • collect

      public List<Fact> collect()
      Returns collected facts.
      Returns:
      collected facts