Package io.es4j.test

Annotation Interface DatabaseBusinessRule


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface DatabaseBusinessRule
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The class of the configuration
    The file where it is located
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    the tenant the configuration should belong to
    int
    The version of the file
  • Element Details

    • configurationClass

      Class<? extends DatabaseConfiguration> configurationClass
      The class of the configuration
      Returns:
    • fileName

      String fileName
      The file where it is located
      Returns:
    • tenant

      String tenant
      the tenant the configuration should belong to
      Returns:
      Default:
      "default"
    • version

      int version
      The version of the file
      Returns:
      Default:
      0