Enum PrefillingMode

  • All Implemented Interfaces:
    Serializable, Comparable<PrefillingMode>

    public enum PrefillingMode
    extends Enum<PrefillingMode>
    Indicates the prefilling mode for a fragment. Value means a specific string value is used while expression means the value to be prefilled is determined by evaluating the expression.
    • Enum Constant Detail

      • VALUE

        public static final PrefillingMode VALUE
        A simple literal value.
      • EXPRESSION

        public static final PrefillingMode EXPRESSION
        A JavaScript expression.
    • Method Detail

      • values

        public static PrefillingMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PrefillingMode c : PrefillingMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PrefillingMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null