Class UIResponse
java.lang.Object
com.inductiveautomation.ignition.common.messages.UIResponse
- All Implemented Interfaces:
UICallback,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
wrap
Create a new UIResponse with the given locale, then run the consumer function. -
attempt
Attempt to run the given method, catching any Throwable and adding it as an error to the UIResponse. -
getLocale
- Specified by:
getLocalein interfaceUICallback
-
warn
- Specified by:
warnin interfaceUICallback
-
error
- Specified by:
errorin interfaceUICallback
-
info
- Specified by:
infoin interfaceUICallback
-
getWarns
-
getErrors
-
getInfos
-