Annotation Interface ProjectResource


@Inherited @Retention(RUNTIME) @Target(FIELD) public @interface ProjectResource
Annotated property value will allow to drop file from business model.

extensions() filters for file extensions

Can be applied to property value with String class

Author:
a.petrov
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    List of valid file extensions.
  • Element Details

    • extensions

      String[] extensions
      List of valid file extensions.
      Returns:
      - List of valid file extensions
      Default:
      {}