Package com.tick42.glue.desktop.intents
Class IntentListenerRequest<T>
- java.lang.Object
-
- com.tick42.glue.desktop.intents.IntentListenerRequest<T>
-
- Type Parameters:
T- type of handled context data
public final class IntentListenerRequest<T> extends Object
Describes a request to define a dynamic Intent. The handler will have the same lifespan as your application instance.- Since:
- 1.4.1
- See Also:
IntentListenerRequest.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntentListenerRequest.Builder<T>Builder forIntentListenerRequests.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getContextTypes()Optional<String>getDescription()Optional<String>getDisplayName()Optional<Object>getIcon()StringgetIntent()static <T> IntentListenerRequest.Builder<T>intent(String intent, ReifiedType<T> returnType)
-
-
-
Method Detail
-
getIntent
public String getIntent()
-
intent
public static <T> IntentListenerRequest.Builder<T> intent(String intent, ReifiedType<T> returnType)
-
-