Interface ILegacyValidatorProvider
- All Known Implementing Classes:
BslLegacyValidatorProvider
,FormLegacyValidatorProvider
,GraphicalSchemeLegacyValidatorProvider
,MdExtensionLegacyValidatorProvider
,MdLegacyValidatorProvider
public interface ILegacyValidatorProvider
Contract for legacy validation providers. Providers are registered in bundles where legacy validators reside.
The providers are used to extract legacy validator specific info like instance and validation context
-
Method Summary
Modifier and TypeMethodDescriptioncreateValidationContext
(org.eclipse.emf.ecore.EObject object) Provides the validator specific validation context.Returns the instance of the legacy validator
-
Method Details
-
getValidator
AbstractLegacyDeclarativeValidator getValidator()Returns the instance of the legacy validator- Returns:
- the instance of the legacy validator, cannot be
null
-
createValidationContext
Provides the validator specific validation context. Context is not intended to be modified by clients- Parameters:
object
- the target object being validated, cannot benull
- Returns:
- the map with validation context, cannot be
null
, can be empty for unsupported objects
-