Interface WritingStrategy
-
public interface WritingStrategy
Ways to write a file and embed the version comment.
-
-
Field Summary
Fields Modifier and Type Field Description static WritingStrategy
WITHOUTVERSION
Writes the raw file without the cersion comment.static WritingStrategy
WITHVERSION
Writes the file with the version comment.static WritingStrategy
WITHVERSIONFILE
Writes an additional file (.version) with the version.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AIVersionMarker
getRecordedVersionMarker(AIInOut output)
Version of current output file.void
write(AIInOut output, String content, String versionComment)
-
-
-
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
-
getRecordedVersionMarker
AIVersionMarker getRecordedVersionMarker(@Nonnull AIInOut output)
Version of current output file.
-
-