BackupInfo Class

  • java.lang.Object
    • microsoft.servicefabric.data.BackupInfo

public class BackupInfo

Provides info about the backup.

Constructor Summary

Constructor Description
BackupInfo(String directory, BackupOption option, BackupVersion version)

Initializes new instance of BackupInfo class.

Method Summary

Modifier and Type Method and Description
String getDirectory()

Gets the directory where the backup was created.

BackupOption getOption()

Gets the backup option used.

BackupVersion getVersion()

Gets the latest epoch included in the backup.

Constructor Details

BackupInfo

public BackupInfo(String directory, BackupOption option, BackupVersion version)

Initializes new instance of BackupInfo class.

Parameters:

directory - Folder path that contains the backup.
option -

BackupOption that was used to take the backup.

version -

BackupVersion of the backup.

Method Details

getDirectory

public String getDirectory()

Gets the directory where the backup was created.

Returns:

The directory.

getOption

public BackupOption getOption()

Gets the backup option used.

Returns:

The backup option.

getVersion

public BackupVersion getVersion()

Gets the latest epoch included in the backup.

Returns:

The backup version.

Applies to