Annotation Type EnumSource

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<? extends Enum<?>> value
      The enum type that serves as the source of the enum constants.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      EnumSource.Mode mode
      The enum constant selection mode.
      String[] names
      The names of enum constants to provide, or regular expressions to select the names of enum constants to provide.