public interface CustomModelValidator
Service-annotation as follows:
@Service(CustomModelValidator.class)
public class MyModelValidator implements CustomModelValidator {
@Override
public void validate(Model model) throws ModelException {
...
}
}
| Modifier and Type | Method and Description |
|---|---|
static Collection<CustomModelValidator> |
loadValidators()
Gets all custom model validators.
|
void |
validate(Model model)
Validates the model.
|
void validate(Model model) throws ModelException
model - the modelModelException - if validation failedstatic Collection<CustomModelValidator> loadValidators()
Tentackle - distributed, domain- and model-driven