Class UIResponse
java.lang.Object
com.inductiveautomation.ignition.common.messages.UIResponse
- All Implemented Interfaces:
- UICallback,- Serializable
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidattempt(FragileRunnable<?> method) Attempt to run the given method, catching any Throwable and adding it as an error to the UIResponse.voidgetInfos()getWarns()voidvoidstatic UIResponsewrap(Locale locale, Consumer<UIResponse> fx) Create a new UIResponse with the given locale, then run the consumer function.
- 
Constructor Details- 
UIResponse
 
- 
- 
Method Details- 
wrapCreate a new UIResponse with the given locale, then run the consumer function.
- 
attemptAttempt to run the given method, catching any Throwable and adding it as an error to the UIResponse.
- 
getLocale- Specified by:
- getLocalein interface- UICallback
 
- 
warn- Specified by:
- warnin interface- UICallback
 
- 
error- Specified by:
- errorin interface- UICallback
 
- 
info- Specified by:
- infoin interface- UICallback
 
- 
getWarns
- 
getErrors
- 
getInfos
 
-