Package com.tick42.glue.desktop.intents
Class IntentRequest
java.lang.Object
com.tick42.glue.desktop.intents.IntentRequest
Represents a request to raise an intent.
- Since:
- 1.4.1
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the intent.Returns anOptionaleventually containing Intent request's target.static IntentRequest.BuilderCreates anIntentRequest.Builderfor specified Intent name.toString()ReturnsStringrepresentation of this request.
-
Method Details
-
getIntent
Returns the name of the intent.- Returns:
- The name of the intent, never
null.
-
getContext
-
getTarget
Returns anOptionaleventually containing Intent request's target.- Returns:
- An
Optionaleventually containing request's target, nevernull
-
getOptions
-
toString
ReturnsStringrepresentation of this request. -
intent
Creates anIntentRequest.Builderfor specified Intent name.- Parameters:
name- Intent name, must not benull- Returns:
- An
IntentRequest.Builder, nevernull
-