Package com.tick42.glue.desktop.intents
Interface IntentResult<T>
-
- Type Parameters:
T- type of data.
public interface IntentResult<T>Results of a raised intent.- Since:
- 1.4.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntentHandlergetHandler()Returns the intent implementation that handled the intent.IntentRequestgetRequest()Returns the arguments that were used to raise the intent.Optional<T>getResult()Returns the data returned by the intent implementation when handing the intent.
-
-
-
Method Detail
-
getRequest
IntentRequest getRequest()
Returns the arguments that were used to raise the intent.- Returns:
- The arguments that were used to raise the intent, never
null
-
getHandler
IntentHandler getHandler()
Returns the intent implementation that handled the intent.- Returns:
- The intent implementation that handled the intent, never
null
-
-