Interface ConflictChecker
-
- All Known Implementing Classes:
ConflictCheckerImpl
public interface ConflictCheckerUtility class to update status information within a configuration object and generate corresponding UI errors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckCompletness(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 Detail
-
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
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
-
-