Package de.aristaflow.adept2.ui.htmlgui
Class TransferredURLContext
- java.lang.Object
-
- de.aristaflow.adept2.ui.remotegui.AbstractTransferableGUIContext
-
- de.aristaflow.adept2.ui.htmlgui.TransferredURLContext
-
- All Implemented Interfaces:
Localiser
,GUIContext
,de.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext
,URLContext
,Closeable
,Serializable
,AutoCloseable
public class TransferredURLContext extends AbstractTransferableGUIContext implements URLContext
A simple implementation of the transfer object for aURLContext
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected URL
url
The URL of the correspondingHTMLContext
to allow for remote calling.-
Fields inherited from class de.aristaflow.adept2.ui.remotegui.AbstractTransferableGUIContext
activity, activityInstance, executionContext, locale, sessionID, transfrdGUIContextID
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TransferredURLContext(TransferredURLContext context, URL url)
Creates a newTransferredURLContext
having having the fields of the designated GUI context and the designated URL.TransferredURLContext(URL url, ActivityInstance activityInstance, EBPInstanceReference activity, String sessionID, ExecutionContext executionContext)
Creates a newURLContext
providing the designatedURL
that contains the GUI of the correspondingHTMLContext
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getGUIContextAttributes()
Always returns the empty map.URL
getURL()
Gets the URL of the (remote)HTMLContext
which provides the GUI.-
Methods inherited from class de.aristaflow.adept2.ui.remotegui.AbstractTransferableGUIContext
close, getActivityInstance, getEBPInstanceReference, getExecutionContext, getLocale, getSessionID, getTransferredGUIContextID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.aristaflow.adept2.model.runtimeenvironment.GUIContext
close
-
-
-
-
Field Detail
-
url
protected final URL url
The URL of the correspondingHTMLContext
to allow for remote calling.
-
-
Constructor Detail
-
TransferredURLContext
public TransferredURLContext(URL url, ActivityInstance activityInstance, EBPInstanceReference activity, String sessionID, ExecutionContext executionContext)
Creates a newURLContext
providing the designatedURL
that contains the GUI of the correspondingHTMLContext
.- Parameters:
url
- The URL of the correspondingHTMLContext
to allow for remote calling.activityInstance
- The activity instance the correspondingHTMLContext
has been created for.activity
- TheEBPInstanceReference
identifying the process instance node the correspondingHTMLContext
has been created for.sessionID
- The ID of the execution session the correspondingHTMLContext
has been created for uniquely identifying the component execution on the (remote) runtime manager.executionContext
- The execution context of the activity for which the correspondingHTMLContext
has been created for.
-
TransferredURLContext
protected TransferredURLContext(TransferredURLContext context, URL url)
Creates a newTransferredURLContext
having having the fields of the designated GUI context and the designated URL.- Parameters:
context
- The GUI context from which to retrieve the fields.url
- The URL of the correspondingHTMLContext
to allow for remote calling.
-
-
Method Detail
-
getURL
public URL getURL()
Description copied from interface:URLContext
Gets the URL of the (remote)HTMLContext
which provides the GUI.- Specified by:
getURL
in interfaceURLContext
- Returns:
- The URL of the (remote)
HTMLContext
which provides the GUI.
-
getGUIContextAttributes
public Map<String,String> getGUIContextAttributes()
Description copied from class:AbstractTransferableGUIContext
Always returns the empty map.- Specified by:
getGUIContextAttributes
in interfacede.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext
- Overrides:
getGUIContextAttributes
in classAbstractTransferableGUIContext
-
-