Annotation Interface YamlFrom


@Retention(RUNTIME) @Target(TYPE) public @interface YamlFrom
Provide a file or resource for Model that extends YamlData class.

Repository:
Since:
2019, 2019
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The path name of Yaml file.
    The resource name to get the Yaml file.
  • Element Details

    • file

      String file
      The path name of Yaml file.
      Returns:
      The path name.
      Default:
      ""
    • resource

      String resource
      The resource name to get the Yaml file.
      Returns:
      The resource name.
      Default:
      ""