Interface WritingStrategy
-
public interface WritingStrategyWays to write a file and embed the version comment.
-
-
Field Summary
Fields Modifier and Type Field Description static WritingStrategyWITHOUTVERSIONWrites the raw file without the cersion comment.static WritingStrategyWITHVERSIONWrites the file with the version comment.static WritingStrategyWITHVERSIONFILEWrites an additional file (.version) with the version.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AIVersionMarkergetRecordedVersionMarker(AIInOut output)Version of current output file.voidwrite(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.
-
-