Interface FilerTextResource


public interface FilerTextResource
A resource from output (such as target/META-INF/helidon) that can have existing values, and may be replaced with a new value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Existing lines of the resource.
    void
    lines(List<String> newLines)
    New lines of the resource.
    void
    Writes the new lines to the output.
  • Method Details

    • lines

      List<String> lines()
      Existing lines of the resource. Returns an empty list if the resource does not exist.
      Returns:
      list of lines, immutable collection
    • lines

      void lines(List<String> newLines)
      New lines of the resource.
      Parameters:
      newLines - new lines to write() to the resource file
    • write

      void write()
      Writes the new lines to the output. This operation can only be called once per codegen round.