Class BackupVersionFileSerializer
- java.lang.Object
-
- jetbrains.buildServer.serverSide.maintenance.BackupVersionFileSerializer
-
public class BackupVersionFileSerializer extends Object
-
-
Constructor Summary
Constructors Constructor Description BackupVersionFileSerializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
extractDataFormatVersion(ZipReader reader)
static String[]
parseLines(ZipReader zipReader)
static void
save(ZipWriter zipWriter, String version, String buildNumber, int dataFormatVersion, int metadataFormatVersion)
static void
serialize(Writer writer, String version, String buildNumber, int dataFormatVersion, int metadataFormatVersion)
-
-
-
Method Detail
-
extractDataFormatVersion
public static int extractDataFormatVersion(@NotNull ZipReader reader) throws IOException
- Throws:
IOException
-
parseLines
@NotNull public static String[] parseLines(@NotNull ZipReader zipReader) throws IOException
- Throws:
IOException
-
save
public static void save(ZipWriter zipWriter, @Nullable String version, @Nullable String buildNumber, int dataFormatVersion, int metadataFormatVersion) throws IOException
- Throws:
IOException
-
serialize
public static void serialize(Writer writer, @Nullable String version, @Nullable String buildNumber, int dataFormatVersion, int metadataFormatVersion) throws IOException
- Throws:
IOException
-
-