Package com.tick42.glue.desktop.intents
Class IntentRequest.Builder
java.lang.Object
com.tick42.glue.desktop.intents.IntentRequest.Builder
- Enclosing class:
- IntentRequest
public static class IntentRequest.Builder extends Object
Builder for
IntentRequests.- Since:
- 1.4.1
- See Also:
IntentRequest.intent(String)
-
Method Summary
Modifier and Type Method Description IntentRequestbuild()Creates a newIntentRequestinstance.IntentRequest.BuilderwithContext(IntentContext<?> context)<T> IntentRequest.BuilderwithContext(String type, T data)IntentRequest.BuilderwithOptions(Map<String,Object> options)Sets application start options for this Intent request builder.IntentRequest.BuilderwithTarget(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
-