Class ProgressAdapter
java.lang.Object
ch.tocco.nice2.model.entity.api.schema.ProgressAdapter
- All Implemented Interfaces:
ValidationProgress
-
Field Summary
Fields inherited from interface ch.tocco.nice2.model.entity.api.schema.ValidationProgress
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProgress(ValidationProgress progress) voidenteringChecks(int entityModels, int relationModels) After starting, database meta data is collected and then a simple count of models to validate is calculated.voidenteringEntityCheck(int num, EntityModel model) Called before an entity model is validated.voidenteringRelationModel(int num, RelationModel relationModel) Called before a relation model is validated.voidleavingEntityCheck(int num, EntityModel model) Called after an entity model has been validated.voidleavingRelationModel(int num, RelationModel relationModel) Called after the relation model is validated.voidonEnd(SchemaModelValidator.Result result) Called after all validations have been performed with the final result.voidonStart()Called right after the validation task has been started.voidremoveProgress(ValidationProgress progress)
-
Constructor Details
-
ProgressAdapter
-
-
Method Details
-
addProgress
-
removeProgress
-
onStart
public void onStart()Description copied from interface:ValidationProgressCalled right after the validation task has been started.- Specified by:
onStartin interfaceValidationProgress
-
onEnd
Description copied from interface:ValidationProgressCalled after all validations have been performed with the final result.- Specified by:
onEndin interfaceValidationProgress
-
enteringChecks
public void enteringChecks(int entityModels, int relationModels) Description copied from interface:ValidationProgressAfter starting, database meta data is collected and then a simple count of models to validate is calculated.- Specified by:
enteringChecksin interfaceValidationProgress
-
enteringEntityCheck
Description copied from interface:ValidationProgressCalled before an entity model is validated.- Specified by:
enteringEntityCheckin interfaceValidationProgress
-
leavingEntityCheck
Description copied from interface:ValidationProgressCalled after an entity model has been validated.- Specified by:
leavingEntityCheckin interfaceValidationProgress
-
enteringRelationModel
Description copied from interface:ValidationProgressCalled before a relation model is validated.- Specified by:
enteringRelationModelin interfaceValidationProgress
-
leavingRelationModel
Description copied from interface:ValidationProgressCalled after the relation model is validated.- Specified by:
leavingRelationModelin interfaceValidationProgress
-