Enum Class MiscHelper

java.lang.Object
java.lang.Enum<MiscHelper>
io.kestra.core.runners.handlebars.helpers.MiscHelper
All Implemented Interfaces:
com.github.jknack.handlebars.Helper<Object>, Serializable, Comparable<MiscHelper>, Constable

public enum MiscHelper extends Enum<MiscHelper> implements com.github.jknack.handlebars.Helper<Object>
  • Enum Constant Details

    • firstDefined

      public static final MiscHelper firstDefined

      Usage: find the first defined value

          {{defined c.d.e a.b x.y.z}}
       
    • get

      public static final MiscHelper get
  • Method Details

    • values

      public static MiscHelper[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MiscHelper valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null