Package ac.simons.neo4j.migrations.core
Interface DatabaseOperationResult
- All Superinterfaces:
OperationResult
- All Known Implementing Classes:
CleanResult
,DeleteResult
,RepairmentResult
,ValidationResult
public sealed interface DatabaseOperationResult
extends OperationResult
permits CleanResult, ValidationResult (not exhaustive)
A specialization of the
OperationResult
that always affects a database, either the default one
or a named other.- Since:
- 1.2.0
- Author:
- Michael J. Simons
- Soundtrack
- Die Krupps - Paradise Now
-
Method Summary
Modifier and TypeMethodDescriptionReturns the optional name of the database clean, an empty optional indicates the default database.Methods inherited from interface ac.simons.neo4j.migrations.core.OperationResult
getWarnings, prettyPrint
-
Method Details
-
getAffectedDatabase
Returns the optional name of the database clean, an empty optional indicates the default database.- Returns:
- the optional name of the database clean, an empty optional indicates the default database
-