Interface ConflictChecker

All Known Implementing Classes:
ConflictCheckerImpl

public interface ConflictChecker
Utility class to update status information within a configuration object and generate corresponding UI errors.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Checks whether a UI-Group is considered complete, and if so sets the group status accordingly.
    void
    checkConflicts(ConfigurationData config, org.springframework.validation.BindingResult bindingResult)
    Checks whether the given configuration object contains conflicts, and if so updates the group/cstic status accordingly.
    Creates for every conflict and UI-Error.
    void
    checkMandatoryFields(ConfigurationData config, org.springframework.validation.BindingResult bindingResult)
    Checks whether the given configuration object contains mandatory fields without any value, and if so updates the group/cstic status accordingly.
    Creates for every missing field and UI-Error.
  • Method Details

    • checkConflicts

      void checkConflicts(ConfigurationData config, org.springframework.validation.BindingResult bindingResult)
      Checks whether the given configuration object contains conflicts, and if so updates the group/cstic status accordingly.
      Creates for every conflict and UI-Error.
      Parameters:
      config - config to check
      bindingResult - storage for UI errors
    • checkMandatoryFields

      void checkMandatoryFields(ConfigurationData config, org.springframework.validation.BindingResult bindingResult)
      Checks whether the given configuration object contains mandatory fields without any value, and if so updates the group/cstic status accordingly.
      Creates for every missing field and UI-Error.
      Parameters:
      config - config to check
      bindingResult - storage for UI errors
    • checkCompletness

      void checkCompletness(ConfigurationData config)
      Checks whether a UI-Group is considered complete, and if so sets the group status accordingly.
      Parameters:
      config - configuration to check