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 TypeMethodDescriptionvoidcheckCompletness(ConfigurationData config) Checks whether a UI-Group is considered complete, and if so sets the group status accordingly.voidcheckConflicts(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.voidcheckMandatoryFields(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 checkbindingResult- 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 checkbindingResult- storage for UI errors
-
checkCompletness
Checks whether a UI-Group is considered complete, and if so sets the group status accordingly.- Parameters:
config- configuration to check
-