@Service(value=InteractiveErrorFactory.class) public class DefaultInteractiveErrorFactory extends Object implements InteractiveErrorFactory
| Constructor and Description |
|---|
DefaultInteractiveErrorFactory() |
| Modifier and Type | Method and Description |
|---|---|
InteractiveError |
createInteractiveError(boolean warning,
String text,
String errorCode,
org.tentackle.validate.ValidationResult validationResult,
FxControl control)
Creates an interactive error explicitly.
|
InteractiveError |
createInteractiveError(NavigableSet<org.tentackle.validate.ValidationMapper> mappers,
org.tentackle.bind.Binder binder,
org.tentackle.validate.ValidationResult validationResult)
Creates an interactive error from a validation result.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstancepublic InteractiveError createInteractiveError(NavigableSet<org.tentackle.validate.ValidationMapper> mappers, org.tentackle.bind.Binder binder, org.tentackle.validate.ValidationResult validationResult)
InteractiveErrorFactorycreateInteractiveError in interface InteractiveErrorFactorymappers - optional mappers to map the validation path to a binding pathbinder - the bindervalidationResult - the validation resultpublic InteractiveError createInteractiveError(boolean warning, String text, String errorCode, org.tentackle.validate.ValidationResult validationResult, FxControl control)
InteractiveErrorFactorycreateInteractiveError in interface InteractiveErrorFactorywarning - true if just a warning, false if errortext - the error texterrorCode - the optional error codevalidationResult - the validation resultcontrol - the optional UI component related to the error, null if noneTentackle - distributed, domain- and model-driven