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 boolean |
enableCookies |
protected String |
endpoint |
protected String |
host |
protected String |
objName |
protected boolean |
overrideHost |
protected boolean |
overrideProtocol |
protected String |
protocol |
| Constructor and Description |
|---|
JavaScriptBuilderElement(org.slf4j.Logger logger,
fiftyone.pipeline.core.data.factories.ElementDataFactory<JavaScriptBuilderData> elementDataFactory,
String host,
boolean overrideHost,
String endpoint,
String protocol,
boolean overrideProtocol,
String objName,
boolean enableCookes)
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 boolean overrideHost
protected String endpoint
protected String protocol
protected boolean overrideProtocol
protected String objName
protected boolean enableCookies
public JavaScriptBuilderElement(org.slf4j.Logger logger,
fiftyone.pipeline.core.data.factories.ElementDataFactory<JavaScriptBuilderData> elementDataFactory,
String host,
boolean overrideHost,
String endpoint,
String protocol,
boolean overrideProtocol,
String objName,
boolean enableCookes)
logger - The logger.elementDataFactory - The element data factory.host - The host that the client JavaScript should query for updates.overrideHost - Set whether host should be determined from the origin
or referer header.endpoint - Set the endpoint which will be queried on the host.
e.g /api/v4/jsonprotocol - The protocol (HTTP or HTTPS) that the client JavaScript
will use when querying for updates.overrideProtocol - Set whether the host should be overridden by
evidence, e.g when the host can be determined from the incoming request.objName - The default name of the object instantiated by the client
JavaScript.enableCookes - Set whether the client JavaScript stored results of
client side processing in cookies.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 © 2020. All rights reserved.