Package com.tick42.glue.desktop.intents
Class IntentRequest.Builder
java.lang.Object
com.tick42.glue.desktop.intents.IntentRequest.Builder
- Enclosing class:
- IntentRequest
Builder for
IntentRequests.- Since:
- 1.4.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newIntentRequestinstance.withContext(IntentContext<?> context) withContext(String type, T data) withOptions(Map<String, Object> options) Sets application start options for this Intent request builder.withTarget(IntentTarget target) Sets target for this Intent request builder.
-
Method Details
-
withTarget
Sets target for this Intent request builder.- Parameters:
target- Intent target, must not benull- Returns:
- This builder, never
null
-
withContext
-
withContext
-
withOptions
Sets application start options for this Intent request builder.- Parameters:
options- application start options, must not benull- Returns:
- This builder, never
null
-
build
Creates a newIntentRequestinstance.- Returns:
- A new
IntentRequestinstance, nevernull
-