public class JavaScriptBuilderElement extends fiftyone.pipeline.core.flowelements.FlowElementBase<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>
fiftyone.pipeline.core.flowelements.FlowElementBase.DataFactoryInternal<T extends fiftyone.pipeline.core.data.ElementData>, fiftyone.pipeline.core.flowelements.FlowElementBase.DataFactorySimple<T extends fiftyone.pipeline.core.data.ElementData>| Modifier and Type | Field and Description |
|---|---|
protected String |
contextRoot |
protected boolean |
enableCookies |
protected String |
endpoint |
protected String |
host |
protected String |
objName |
protected String |
protocol |
| Constructor and Description |
|---|
JavaScriptBuilderElement(org.slf4j.Logger logger,
fiftyone.pipeline.core.data.factories.ElementDataFactory<JavaScriptBuilderData> elementDataFactory,
String endpoint,
String objName,
boolean enableCookies,
String host,
String protocol)
Default constructor.
|
JavaScriptBuilderElement(org.slf4j.Logger logger,
fiftyone.pipeline.core.data.factories.ElementDataFactory<JavaScriptBuilderData> elementDataFactory,
String endpoint,
String objName,
boolean enableCookies,
String host,
String protocol,
String contextRoot)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getElementDataKey() |
fiftyone.pipeline.core.data.EvidenceKeyFilter |
getEvidenceKeyFilter() |
List<fiftyone.pipeline.core.data.ElementPropertyMetaData> |
getProperties() |
protected void |
managedResourcesCleanup() |
protected void |
processInternal(fiftyone.pipeline.core.data.FlowData data) |
protected void |
unmanagedResourcesCleanup() |
protected String host
protected String endpoint
protected String protocol
protected String contextRoot
protected final String objName
protected final boolean enableCookies
public JavaScriptBuilderElement(org.slf4j.Logger logger,
fiftyone.pipeline.core.data.factories.ElementDataFactory<JavaScriptBuilderData> elementDataFactory,
String endpoint,
String objName,
boolean enableCookies,
String host,
String protocol)
logger - The logger.elementDataFactory - The element data factory.endpoint - Set the endpoint which will be queried on the host.
e.g /api/v4/jsonobjName - The default name of the object instantiated by the client
JavaScript.enableCookies - Set whether the client JavaScript stored results of
client side processing in cookies.host - The host that the client JavaScript should query for updates.
If null or blank then the host from the request will be usedprotocol - The protocol (HTTP or HTTPS) that the client JavaScript
will use when querying for updates. If null or blank
then the protocol from the request will be usedpublic JavaScriptBuilderElement(org.slf4j.Logger logger,
fiftyone.pipeline.core.data.factories.ElementDataFactory<JavaScriptBuilderData> elementDataFactory,
String endpoint,
String objName,
boolean enableCookies,
String host,
String protocol,
String contextRoot)
logger - The logger.elementDataFactory - The element data factory.endpoint - Set the endpoint which will be queried on the host.
e.g /api/v4/jsonobjName - The default name of the object instantiated by the client
JavaScript.enableCookies - Set whether the client JavaScript stored results of
client side processing in cookies.host - The host that the client JavaScript should query for updates.
If null or blank then the host from the request will be usedprotocol - The protocol (HTTP or HTTPS) that the client JavaScript
will use when querying for updates. If null or blank
then the protocol from the request will be usedcontextRoot - The <context-root> setting from the web.xml.
This is needed when creating the callback URL.protected void processInternal(fiftyone.pipeline.core.data.FlowData data)
throws Exception
processInternal in class fiftyone.pipeline.core.flowelements.FlowElementBase<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>Exceptionpublic String getElementDataKey()
getElementDataKey in interface fiftyone.pipeline.core.flowelements.FlowElement<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>getElementDataKey in class fiftyone.pipeline.core.flowelements.FlowElementBase<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>public fiftyone.pipeline.core.data.EvidenceKeyFilter getEvidenceKeyFilter()
getEvidenceKeyFilter in interface fiftyone.pipeline.core.flowelements.FlowElement<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>getEvidenceKeyFilter in class fiftyone.pipeline.core.flowelements.FlowElementBase<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>public List<fiftyone.pipeline.core.data.ElementPropertyMetaData> getProperties()
getProperties in interface fiftyone.pipeline.core.flowelements.FlowElement<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>getProperties in class fiftyone.pipeline.core.flowelements.FlowElementBase<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>protected void managedResourcesCleanup()
managedResourcesCleanup in class fiftyone.pipeline.core.flowelements.FlowElementBase<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>protected void unmanagedResourcesCleanup()
unmanagedResourcesCleanup in class fiftyone.pipeline.core.flowelements.FlowElementBase<JavaScriptBuilderData,fiftyone.pipeline.core.data.ElementPropertyMetaData>Copyright © 2023 51Degrees. All rights reserved.