Interface ValidationProgress
- All Known Implementing Classes:
ProgressAdapter
,ValidationProgressAdapter
public interface ValidationProgress
Receives progress messages from within the validation task. This may be invoked
from multiple threads. Therefore progress impls should be thread-safe and perform
quickly, since they block the validation task.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enteringChecks
(int entityModels, int relationModels) After starting, database meta data is collected and then a simple count of models to validate is calculated.void
enteringEntityCheck
(int num, EntityModel model) Called before an entity model is validated.void
enteringRelationModel
(int num, RelationModel relationModel) Called before a relation model is validated.void
leavingEntityCheck
(int num, EntityModel model) Called after an entity model has been validated.void
leavingRelationModel
(int num, RelationModel relationModel) Called after the relation model is validated.void
onEnd
(SchemaModelValidator.Result result) Called after all validations have been performed with the final result.void
onStart()
Called right after the validation task has been started.
-
Field Details
-
EMPTY
-
-
Method Details
-
onStart
void onStart()Called right after the validation task has been started. -
onEnd
Called after all validations have been performed with the final result. -
enteringChecks
void enteringChecks(int entityModels, int relationModels) After starting, database meta data is collected and then a simple count of models to validate is calculated. -
enteringEntityCheck
Called before an entity model is validated. -
leavingEntityCheck
Called after an entity model has been validated. -
enteringRelationModel
Called before a relation model is validated. -
leavingRelationModel
Called after the relation model is validated.
-