Enum PromptFileSource

java.lang.Object
java.lang.Enum<PromptFileSource>
de.xima.fc.prompt.service.support.PromptFileSource
All Implemented Interfaces:
Serializable, Comparable<PromptFileSource>

public enum PromptFileSource extends Enum<PromptFileSource>
  • Enum Constant Details

    • DYNAMIC

      public static final PromptFileSource DYNAMIC
      The user must provide the file when executing the query.
    • STATIC

      public static final PromptFileSource STATIC
      The file must be uploaded in the query configuration backend UI.
    • ANY

      public static final PromptFileSource ANY
      The file can be either DYNAMIC or STATIC.
  • Method Details

    • values

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

      public static PromptFileSource 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