Interface SchemaModelValidator
- All Known Implementing Classes:
SchemaModelValidatorImpl
public interface SchemaModelValidator
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProgress
(ValidationProgress progress) Adds aValidationProgress
to the list of global progress callbacks.void
addReporter
(Reporter reporter) Adds aReporter
to the global list of reporters.com.google.common.util.concurrent.ListenableFuture
<SchemaModelValidator.Result> checkDataModel
(ValidationProgress progressCallback, Reporter additionalReporter) Starts validating the entity model against the database.boolean
Check if the validation is currently in progress.void
removeProgress
(ValidationProgress progress) void
removeReporter
(Reporter reporter)
-
Method Details
-
checkDataModel
com.google.common.util.concurrent.ListenableFuture<SchemaModelValidator.Result> checkDataModel(ValidationProgress progressCallback, Reporter additionalReporter) Starts validating the entity model against the database. If already running, this just returns the future representing the currently running validation task. In this case the givenprogressCallback
andadditionalReporter
arguments are not taken into account. -
isRunning
boolean isRunning()Check if the validation is currently in progress. -
addProgress
Adds aValidationProgress
to the list of global progress callbacks. -
removeProgress
-
addReporter
Adds aReporter
to the global list of reporters. -
removeReporter
-