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 Details

    • getValidator

      Returns the instance of the legacy validator
      Returns:
      the instance of the legacy validator, cannot be null
    • createValidationContext

      default Map<Object,Object> createValidationContext(org.eclipse.emf.ecore.EObject object)
      Provides the validator specific validation context. Context is not intended to be modified by clients
      Parameters:
      object - the target object being validated, cannot be null
      Returns:
      the map with validation context, cannot be null, can be empty for unsupported objects