Interface FileLocation

All Known Subinterfaces:
GeneratedFile

public interface FileLocation
  • Method Summary

    Modifier and Type
    Method
    Description
    The location of the file relative to the base generation directory.
    default boolean
    Specifies whether the file location represents a resource that needs to be written to the resources folder.
  • Method Details

    • getUri

      URI getUri()
      The location of the file relative to the base generation directory.
      Returns:
      an relative file location as URI.
    • isResource

      default boolean isResource()
      Specifies whether the file location represents a resource that needs to be written to the resources folder.
      Returns:
      true to indicate that it must be written to the resources folder, otherwise it will be written to the Java source directory.