Package ac.simons.neo4j.migrations.core
Class RepairmentResult
java.lang.Object
ac.simons.neo4j.migrations.core.RepairmentResult
- All Implemented Interfaces:
DatabaseOperationResult
,OperationResult
A
RepairmentResult
will be available after a successful attempt of repairing a database. An attempt is
considered successful no repairing was necessary or all errors in the remote migration chain
could be fixed.- Since:
- 2.2.0
- Author:
- Michael J. Simons
- Soundtrack
- Deichkind - Neues vom Dauerzustand
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The outcome of an attempt of repairing amigration chain
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the optional name of the database clean, an empty optional indicates the default database.long
long
long
long
long
Returns a sensible string applicable in a log or info message.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ac.simons.neo4j.migrations.core.OperationResult
getWarnings
-
Method Details
-
getOutcome
- Returns:
- The outcome of the repairment attempt.
-
prettyPrint
Description copied from interface:OperationResult
Returns a sensible string applicable in a log or info message.- Returns:
- a sensible string applicable in a log or info message
-
getAffectedDatabase
Description copied from interface:DatabaseOperationResult
Returns the optional name of the database clean, an empty optional indicates the default database.- Specified by:
getAffectedDatabase
in interfaceDatabaseOperationResult
- Returns:
- the optional name of the database clean, an empty optional indicates the default database
-
getNodesDeleted
public long getNodesDeleted()- Returns:
- how many nodes have been deleted.
-
getNodesCreated
public long getNodesCreated()- Returns:
- how many nodes have been created.
-
getRelationshipsDeleted
public long getRelationshipsDeleted()- Returns:
- how many relationships have been deleted
-
getRelationshipsCreated
public long getRelationshipsCreated()- Returns:
- how many relationships have been created
-
getPropertiesSet
public long getPropertiesSet()- Returns:
- the number of properties set
-