Interface WritingStrategy


  • public interface WritingStrategy
    Ways to write a file and embed the version comment.
    • Field Detail

      • WITHOUTVERSION

        static final WritingStrategy WITHOUTVERSION
        Writes the raw file without the cersion comment.
      • WITHVERSION

        static final WritingStrategy WITHVERSION
        Writes the file with the version comment.
      • WITHVERSIONFILE

        static final WritingStrategy WITHVERSIONFILE
        Writes an additional file (.version) with the version.
    • Method Detail

      • write

        void write​(@Nonnull
                   AIInOut output,
                   @Nonnull
                   String content,
                   @Nonnull
                   String versionComment)
      • getRecordedVersionMarker

        AIVersionMarker getRecordedVersionMarker​(@Nonnull
                                                 AIInOut output)
        Version of current output file.