Interface RestoreProgress
- All Superinterfaces:
ActionProgress
,Serializable
Interface providing access to the progress information of a server restore action.
- Since:
- 4.0.57
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map containing all referenced elements which could not be found, mapped from object key to store type.Returns a set of ids of all elements which couldn't be restored due to missing permissions.Returns a map containing all elements which would cause problem during restore process.Returns a set of ids of all elements which were restored during restore process.boolean
Returnstrue
if the server action was started in 'check-only' mode.
If the server action runs in 'check-only' mode the whole process is only tested, but the involved elements will not be restored.Methods inherited from interface de.espirit.firstspirit.access.ActionProgress
getLog, getProgress, getStatus, isFinished
-
Method Details
-
getRestoredElements
Returns a set of ids of all elements which were restored during restore process.- Returns:
- A set of element ids.
- Since:
- 4.0.57
-
getMissingOutgoingReferences
Map<Object,Store.Type> getMissingOutgoingReferences()Returns a map containing all referenced elements which could not be found, mapped from object key to store type.- Returns:
- A map containing all referenced elements which could not be found.
- Since:
- 4.0.128
-
getMissingPermissionElements
Returns a set of ids of all elements which couldn't be restored due to missing permissions.- Returns:
- A set of element ids.
- Since:
- 4.0.57
-
getProblematicElements
EnumMap<RestoreProgress.ProblemType,Set<Long>> getProblematicElements()Returns a map containing all elements which would cause problem during restore process.- Returns:
- A map containing all elements which would cause problem during restore process.
- Since:
- 4.0.57
-
isCheckOnlyMode
boolean isCheckOnlyMode()Returnstrue
if the server action was started in 'check-only' mode.
If the server action runs in 'check-only' mode the whole process is only tested, but the involved elements will not be restored.- Returns:
true
if the server action was started in 'check-only' mode.- Since:
- 4.0.57
-