public interface IValidationResultBuilder
Modifier and Type | Method and Description |
---|---|
IValidationResultBuilder |
addError(java.lang.String text)
Adds a error message
|
IValidationResultBuilder |
addError(java.lang.String context,
java.lang.String text)
Adds a error message
|
IValidationResultBuilder |
addInfo(java.lang.String text)
Adds a info message
|
IValidationResultBuilder |
addInfo(java.lang.String context,
java.lang.String text)
Adds a info message
|
IValidationResultBuilder |
addInfoError(java.lang.String text)
Adds a info error message
|
IValidationResultBuilder |
addInfoError(java.lang.String context,
java.lang.String text)
Adds a info error message
|
IValidationResultBuilder |
addMessage(IValidationMessage message)
Adds a message
|
IValidationResultBuilder |
addResult(IValidationResult result)
Adds all messages of a result the new result
|
IValidationResultBuilder |
addWarning(java.lang.String text)
Adds a warning message
|
IValidationResultBuilder |
addWarning(java.lang.String context,
java.lang.String text)
Adds a warning message
|
IValidationResult |
build()
Creates a new validation result
|
IValidationResultBuilder addMessage(IValidationMessage message)
message
- The message to add, must not be nullIValidationResultBuilder addInfo(java.lang.String text)
message
- The message text of the message to addIValidationResultBuilder addWarning(java.lang.String text)
message
- The message text of the message to addIValidationResultBuilder addInfoError(java.lang.String text)
message
- The message text of the message to addIValidationResultBuilder addError(java.lang.String text)
message
- The message text of the message to addIValidationResultBuilder addInfo(java.lang.String context, java.lang.String text)
context
- The context of the message to addtext
- The message text of the message to addIValidationResultBuilder addWarning(java.lang.String context, java.lang.String text)
context
- The context of the message to addtext
- The message text of the message to addIValidationResultBuilder addInfoError(java.lang.String context, java.lang.String text)
context
- The context of the message to addtext
- The message text of the message to addIValidationResultBuilder addError(java.lang.String context, java.lang.String text)
context
- The context of the message to addtext
- The message text of the message to addIValidationResultBuilder addResult(IValidationResult result)
result
- The result to add, must not be nullIValidationResult build()
Siehe auch Jowidgets Nutzerhandbuch