Package com.tccc.kos.core.service.app
Class AppBrowserIntent
java.lang.Object
com.tccc.kos.core.service.browser.BrowserNav
com.tccc.kos.core.service.browser.BrowserIntent
com.tccc.kos.core.service.app.AppBrowserIntent
A subclass of
BrowserIntent that generates an intent that is
targeted at a specific application. This can be handled in the targeted
application by overriding resolveAppBrowserIntent() instead of
needing to implement the BrowserIntentResolver interface.- Since:
- 1.0
- Version:
- 2024-02-12
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAppBrowserIntent(Application<?> app, NodeId nodeId, String browserName, String type) Create a browser intent for the specified browser in the specified node.AppBrowserIntent(Application<?> app, NodeId nodeId, String browserName, String type, Map<String, Object> properties) Create a browser intent for the specified browser in the specified node.AppBrowserIntent(Application<?> app, BrowserId browserId, String type) Create a browser intent targeting the specified browser.AppBrowserIntent(Application<?> app, BrowserId browserId, String type, Map<String, Object> properties) Create a browser intent targeting the specified browser.AppBrowserIntent(Application<?> app, BrowserIntent intent, String type) Create a browser intent targeting the browser contained in the specified intent.AppBrowserIntent(Application<?> app, BrowserIntent intent, String type, Map<String, Object> properties) Create a browser intent targeting the browser contained in the specified intent.AppBrowserIntent(Application<?> app, String type) Create a browser intent for the default browser on the current node.AppBrowserIntent(Application<?> app, String type, Map<String, Object> properties) Create a browser intent for the default browser on the current node.AppBrowserIntent(String appId, NodeId nodeId, String browserName, String type) Create a browser intent for the specified browser in the specified node.AppBrowserIntent(String appId, NodeId nodeId, String browserName, String type, Map<String, Object> properties) Create a browser intent for the specified browser in the specified node.AppBrowserIntent(String appId, BrowserId browserId, String type) Create a browser intent targeting the specified browser.Create a browser intent targeting the specified browser.AppBrowserIntent(String appId, BrowserIntent intent, String type) Create a browser intent targeting the browser contained in the specified intent.AppBrowserIntent(String appId, BrowserIntent intent, String type, Map<String, Object> properties) Create a browser intent targeting the browser contained in the specified intent.AppBrowserIntent(String appId, String type) Create a browser intent for the default browser on the current node.Create a browser intent for the default browser on the current node. -
Method Summary
Methods inherited from class com.tccc.kos.core.service.browser.BrowserIntent
getProperties, getProperty, getStrProperty, getType, setProperty, toStringMethods inherited from class com.tccc.kos.core.service.browser.BrowserNav
getBrowserId, setBrowserId
-
Field Details
-
INTENT
- See Also:
-
PROP_APP_INTENT_TYPE
- See Also:
-
PROP_APP_ID
- See Also:
-
-
Constructor Details
-
AppBrowserIntent
Create a browser intent for the default browser on the current node.- Parameters:
app- the app to targettype- intent type to send to the app
-
AppBrowserIntent
Create a browser intent for the default browser on the current node.- Parameters:
app- the app to targettype- intent type to send to the appproperties- properties for the intent
-
AppBrowserIntent
Create a browser intent for the specified browser in the specified node.- Parameters:
app- the app to targetnodeId- the node the browser is running onbrowserName- the name of the browser on the nodetype- intent type to send to the app
-
AppBrowserIntent
public AppBrowserIntent(Application<?> app, NodeId nodeId, String browserName, String type, Map<String, Object> properties) Create a browser intent for the specified browser in the specified node.- Parameters:
app- the app to targetnodeId- the node the browser is running onbrowserName- the name of the browser on the nodetype- intent type to send to the appproperties- properties for the intent
-
AppBrowserIntent
Create a browser intent targeting the browser contained in the specified intent. This is used when transforming one intent to another so that the target browser doesn't get lost.- Parameters:
app- the app to targetintent- the original intent containing the target browsertype- intent type to send to the app
-
AppBrowserIntent
public AppBrowserIntent(Application<?> app, BrowserIntent intent, String type, Map<String, Object> properties) Create a browser intent targeting the browser contained in the specified intent. This is used when transforming one intent to another so that the target browser doesn't get lost.- Parameters:
app- the app to targetintent- the original intent containing the target browsertype- intent type to send to the appproperties- properties for the intent
-
AppBrowserIntent
Create a browser intent targeting the specified browser.- Parameters:
app- the app to targetbrowserId- the browser to targettype- intent type to send to the app
-
AppBrowserIntent
public AppBrowserIntent(Application<?> app, BrowserId browserId, String type, Map<String, Object> properties) Create a browser intent targeting the specified browser.- Parameters:
app- the app to targetbrowserId- the browser to targettype- intent type to send to the appproperties- properties for the intent
-
AppBrowserIntent
Create a browser intent for the default browser on the current node.- Parameters:
appId- the app to targettype- intent type to send to the app
-
AppBrowserIntent
Create a browser intent for the default browser on the current node.- Parameters:
appId- the app to targettype- intent type to send to the appproperties- properties for the intent
-
AppBrowserIntent
Create a browser intent for the specified browser in the specified node.- Parameters:
appId- the app to targetnodeId- the node the browser is running onbrowserName- the name of the browser on the nodetype- intent type to send to the app
-
AppBrowserIntent
public AppBrowserIntent(String appId, NodeId nodeId, String browserName, String type, Map<String, Object> properties) Create a browser intent for the specified browser in the specified node.- Parameters:
appId- the app to targetnodeId- the node the browser is running onbrowserName- the name of the browser on the nodetype- intent type to send to the appproperties- properties for the intent
-
AppBrowserIntent
Create a browser intent targeting the browser contained in the specified intent. This is used when transforming one intent to another so that the target browser doesn't get lost.- Parameters:
appId- the app to targetintent- the original intent containing the target browsertype- intent type to send to the app
-
AppBrowserIntent
public AppBrowserIntent(String appId, BrowserIntent intent, String type, Map<String, Object> properties) Create a browser intent targeting the browser contained in the specified intent. This is used when transforming one intent to another so that the target browser doesn't get lost.- Parameters:
appId- the app to targetintent- the original intent containing the target browsertype- intent type to send to the appproperties- properties for the intent
-
AppBrowserIntent
Create a browser intent targeting the specified browser.- Parameters:
appId- the app to targetbrowserId- the browser to targettype- intent type to send to the app
-
AppBrowserIntent
public AppBrowserIntent(String appId, BrowserId browserId, String type, Map<String, Object> properties) Create a browser intent targeting the specified browser.- Parameters:
appId- the app to targetbrowserId- the browser to targettype- intent type to send to the appproperties- properties for the intent
-