Interface ValidatorFactory
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(org.eclipse.aether.RepositorySystemSession session) Creates a new validator for the session, orNOOPto abstain from validation.
-
Field Details
-
NOOP
-
-
Method Details
-
newInstance
Creates a new validator for the session, orNOOPto abstain from validation. Factory is consulted once per session (if cache present in session) and returned instances are cached and reused across single session.- Parameters:
session- the repository system session from which to configure the validator, must not benull.- Returns:
- the validator to be used for the session, or
NOOPto abstain from validation, nevernull.
-