Interface SchemaModelValidator
- All Known Implementing Classes:
SchemaModelValidatorImpl
public interface SchemaModelValidator
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProgress(ValidationProgress progress) Adds aValidationProgressto the list of global progress callbacks.voidaddReporter(Reporter reporter) Adds aReporterto 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.booleanCheck if the validation is currently in progress.voidremoveProgress(ValidationProgress progress) voidremoveReporter(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 givenprogressCallbackandadditionalReporterarguments are not taken into account. -
isRunning
boolean isRunning()Check if the validation is currently in progress. -
addProgress
Adds aValidationProgressto the list of global progress callbacks. -
removeProgress
-
addReporter
Adds aReporterto the global list of reporters. -
removeReporter
-