Class StepUtils

java.lang.Object
io.jenkins.plugins.checks.steps.StepUtils

public class StepUtils extends Object
Utilities for pipeline steps.
  • Constructor Details

    • StepUtils

      public StepUtils()
  • Method Details

    • asListBoxModel

      public ListBoxModel asListBoxModel(Enum<?>... enums)
      Converts an Enum into a ListBoxModel with all values of it.
      Parameters:
      enums - all candidate values of the enum
      Returns:
      the list box model with all enum values.