Interface IConfigValidationResult
public interface IConfigValidationResult
Class used to accumulate errors and warnings during config validation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Register an error that will prevent saga from starting or applying new config values at runtime.void
addWarning
(String property, String message) Register a warning that will be logged during startup or when applying new config values at runtime.
-
Method Details
-
addError
Register an error that will prevent saga from starting or applying new config values at runtime.- Parameters:
property
- Name of the property as in config file (kebab-case) without the prefix.message
- Message describing the error.
-
addWarning
Register a warning that will be logged during startup or when applying new config values at runtime.- Parameters:
property
- Name of the property as in config file (kebab-case) without the prefix.message
- Message describing the warning.
-