Class Snapshot
java.lang.Object
repository.Directory
repository.Snapshot
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordWrapper that holds data for the creation of a snapshot -
Field Summary
Fields inherited from class Directory
directories, files, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreate(Snapshot.CreateSnapshotData commandData) Constructs the object to create a new snapshot and uploads the filesReturns the data at which the snapshot was created
-
Constructor Details
-
Snapshot
public Snapshot()
-
-
Method Details
-
create
public static void create(Snapshot.CreateSnapshotData commandData) throws IPFSException, CDCException, IOException Constructs the object to create a new snapshot and uploads the files- Parameters:
commandData- References to be used- Throws:
IPFSExceptionCDCExceptionIOException
-
getSnapshotCreationData
Returns the data at which the snapshot was created- Returns:
- the time at which the snapshot was created
-