Class PreviousResultsBlock

java.lang.Object
hudson.model.AbstractDescribableImpl<PreviousResultsBlock>
hudson.plugins.performance.constraints.blocks.PreviousResultsBlock
All Implemented Interfaces:
Describable<PreviousResultsBlock>

public class PreviousResultsBlock extends AbstractDescribableImpl<PreviousResultsBlock>
Holds the informations which builds get included into the evaluation of relative constraints.
Author:
Rene Kugel
  • Field Details

    • PREVIOUS

      public static final String PREVIOUS
      True: relative constraint includes a user defined number of builds into the evaluation False: relative constraint includes all builds that have taken place in an user defined time frame BASELINE: relative constraint includes baseline build defined in the PerformancePublisher settings. True and false are retained for backward compatibility.
      See Also:
    • TIMEFRAME

      public static final String TIMEFRAME
      True: relative constraint includes a user defined number of builds into the evaluation False: relative constraint includes all builds that have taken place in an user defined time frame BASELINE: relative constraint includes baseline build defined in the PerformancePublisher settings. True and false are retained for backward compatibility.
      See Also:
    • BASELINE

      public static final String BASELINE
      True: relative constraint includes a user defined number of builds into the evaluation False: relative constraint includes all builds that have taken place in an user defined time frame BASELINE: relative constraint includes baseline build defined in the PerformancePublisher settings. True and false are retained for backward compatibility.
      See Also:
  • Constructor Details

    • PreviousResultsBlock

      @DataBoundConstructor public PreviousResultsBlock(String value, String previousResultsString, String timeframeStartString, String timeframeEndString)
  • Method Details

    • isChoicePreviousResults

      public boolean isChoicePreviousResults()
    • setChoicePreviousResults

      public void setChoicePreviousResults(boolean choicePreviousResults)
    • isChoiceTimeframe

      public boolean isChoiceTimeframe()
    • isChoiceBaselineBuild

      public boolean isChoiceBaselineBuild()
    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getPreviousResultsString

      public String getPreviousResultsString()
    • setPreviousResultsString

      public void setPreviousResultsString(String previousResultsString)
    • getTimeframeStartString

      public String getTimeframeStartString()
    • setTimeframeStartString

      public void setTimeframeStartString(String timeframeStartString)
    • getTimeframeEndString

      public String getTimeframeEndString()
    • setTimeframeEndString

      public void setTimeframeEndString(String timeframeEndString)