Package com.tick42.glue.desktop.intents
Interface IntentHandler
-
public interface IntentHandlerDescribes an implementation of an intent.- Since:
- 1.4.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetApplicationDescription()Returns the user friendly (longer) description of the application, as specified in the application configuration.StringgetApplicationIcon()Returns the icon url of the application that has registered the intent handler.default Optional<String>getApplicationInstanceId()Returns the application instance id asOptional.StringgetApplicationName()Name of the application which registered this Intent implementation, as specified in the application configuration.StringgetApplicationTitle()Returns the title of the application which registered this Intent implementation, as specified in the application configuration.List<String>getContextTypes()Returns aListwith the context types that this handler supports.StringgetDisplayName()Returns the human-readable name of the Intent handler, as specified in the intent definition.StringgetInstanceId()Returns the id of the running application instance.StringgetName()Returns the name of the Intent of this Intent implementation.IntentHandlerTypegetType()Returns the type of the handler.StringtoString()Returns theStringrepresentation of this handler.
-
-
-
Method Detail
-
getApplicationName
String getApplicationName()
Name of the application which registered this Intent implementation, as specified in the application configuration.- Returns:
- The name of the application which registered this Intent, never
null
-
getApplicationTitle
String getApplicationTitle()
Returns the title of the application which registered this Intent implementation, as specified in the application configuration.- Returns:
- The title of the application which registered this Intent, never
null
-
getApplicationDescription
String getApplicationDescription()
Returns the user friendly (longer) description of the application, as specified in the application configuration.- Returns:
- The user friendly description of the application, may by
null
-
getApplicationIcon
String getApplicationIcon()
Returns the icon url of the application that has registered the intent handler.- Returns:
- The icon url of the application, may be
null
-
getType
IntentHandlerType getType()
Returns the type of the handler.- Returns:
- The type of the handler, never
null
-
getName
String getName()
Returns the name of the Intent of this Intent implementation.- Returns:
- The name of the Intent, never
null
-
getDisplayName
String getDisplayName()
Returns the human-readable name of the Intent handler, as specified in the intent definition.- Returns:
- The human-readable name of the Intent handler, may be
null
-
getContextTypes
List<String> getContextTypes()
Returns aListwith the context types that this handler supports.- Returns:
- The context types that this handler supports, never
null
-
getInstanceId
String getInstanceId()
Returns the id of the running application instance.- Returns:
- The instance id, may be
null - See Also:
getType(),getApplicationInstanceId()
-
getApplicationInstanceId
default Optional<String> getApplicationInstanceId()
Returns the application instance id asOptional.- Returns:
Optionalof application instance id, nevernull- See Also:
getInstanceId()
-
-