Interface Validator<T>
- Type Parameters:
T- The type of object being validated (e.g., ScormManifest, AiccCourse)
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for validators that check module manifests for issues. Validators should be
stateless and return immutable ValidationResult objects.
-
Method Summary
Modifier and TypeMethodDescriptionValidates the target object and returns any issues found.
-
Method Details
-
validate
Validates the target object and returns any issues found.- Parameters:
target- The object to validate- Returns:
- ValidationResult containing any errors or warnings
-