Interface DynamicValueProvider

All Superinterfaces:
Serializable
All Known Implementing Classes:
CascadingValueProvider, FieldValueProvider, QueryValueProvider, SQLValueProvider

public interface DynamicValueProvider extends Serializable
Provides default values for a prompt field at run-time. getDefaultValues() must not return null, but rather at least an empty DefaultValue array.
Since:
7.6
See Also:
  • Method Details

    • getDefaultValues

      default DefaultValue[] getDefaultValues()
      Returns an array of DefaultValue objects for a prompt field. Will never return null.
      Returns:
      an array of DefaultValue objects for a prompt field. Will never return null.
      Since:
      7.6
    • getDefaultValues

      void getDefaultValues(Function<DefaultValue,Boolean> func)
      Query the DefaultValue objects for a prompt field. Its stops if the function return false.
      Parameters:
      func - the function to use to compute the value
      Since:
      19.0