Class ValidationConfiguration

java.lang.Object
org.faktorips.runtime.validation.ValidationConfiguration

public abstract class ValidationConfiguration extends Object
Base configuration class for validation implementations.
  • Constructor Details

    • ValidationConfiguration

      protected ValidationConfiguration(Locale locale)
      Creates a new validation configuration with the specified locale.
      Parameters:
      locale - the locale to use for validation messages
    • ValidationConfiguration

      protected ValidationConfiguration(Locale locale, @CheckForNull IMarker technicalConstraintViolatedMarker)
      Creates a new validation configuration with the specified locale and technical constraint violation marker.
      Parameters:
      locale - the locale to use for validation messages
      technicalConstraintViolatedMarker - the marker to use for technical constraint violations
  • Method Details

    • getLocale

      public Locale getLocale()
    • getTechnicalConstraintViolatedMarker

      protected IMarker getTechnicalConstraintViolatedMarker()
      Returns the marker to be used for technical constraint violations.
      Returns:
      the marker for technical constraint violation