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
A simple implementation of the transfer object for a
URLContext.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final URLThe URL of the correspondingHTMLContextto allow for remote calling.Fields inherited from class de.aristaflow.adept2.ui.remotegui.AbstractTransferableGUIContext
activity, activityInstance, executionContext, locale, sessionID, transfrdGUIContextID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransferredURLContext(TransferredURLContext context, URL url) Creates a newTransferredURLContexthaving 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 newURLContextproviding the designatedURLthat contains the GUI of the correspondingHTMLContext. -
Method Summary
Methods inherited from class de.aristaflow.adept2.ui.remotegui.AbstractTransferableGUIContext
close, getActivityInstance, getEBPInstanceReference, getExecutionContext, getLocale, getSessionID, getTransferredGUIContextIDMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.aristaflow.adept2.model.runtimeenvironment.GUIContext
close
-
Field Details
-
url
The URL of the correspondingHTMLContextto allow for remote calling.
-
-
Constructor Details
-
TransferredURLContext
public TransferredURLContext(URL url, ActivityInstance activityInstance, EBPInstanceReference activity, String sessionID, ExecutionContext executionContext) Creates a newURLContextproviding the designatedURLthat contains the GUI of the correspondingHTMLContext.- Parameters:
url- The URL of the correspondingHTMLContextto allow for remote calling.activityInstance- The activity instance the correspondingHTMLContexthas been created for.activity- TheEBPInstanceReferenceidentifying the process instance node the correspondingHTMLContexthas been created for.sessionID- The ID of the execution session the correspondingHTMLContexthas been created for uniquely identifying the component execution on the (remote) runtime manager.executionContext- The execution context of the activity for which the correspondingHTMLContexthas been created for.
-
TransferredURLContext
Creates a newTransferredURLContexthaving 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 correspondingHTMLContextto allow for remote calling.
-
-
Method Details
-
getURL
Description copied from interface:URLContextGets the URL of the (remote)HTMLContextwhich provides the GUI.- Specified by:
getURLin interfaceURLContext- Returns:
- The URL of the (remote)
HTMLContextwhich provides the GUI.
-
getGUIContextAttributes
Description copied from class:AbstractTransferableGUIContextAlways returns the empty map.- Specified by:
getGUIContextAttributesin interfacede.aristaflow.adept2.model.runtimeenvironment.guicontext.TransferableGUIContext- Overrides:
getGUIContextAttributesin classAbstractTransferableGUIContext
-