Package fiftyone.devicedetection
Class DeviceDetectionCloudPipelineBuilder
java.lang.Object
fiftyone.pipeline.core.flowelements.PipelineBuilderBase<TBuilder>
fiftyone.pipeline.engines.flowelements.PrePackagedPipelineBuilderBase<TBuilder>
fiftyone.pipeline.engines.flowelements.CloudPipelineBuilderBase<DeviceDetectionCloudPipelineBuilder>
fiftyone.devicedetection.DeviceDetectionCloudPipelineBuilder
public class DeviceDetectionCloudPipelineBuilder
extends fiftyone.pipeline.engines.flowelements.CloudPipelineBuilderBase<DeviceDetectionCloudPipelineBuilder>
Builder used to create pipelines with an cloud-based
device detection engine.
-
Field Summary
Fields inherited from class fiftyone.pipeline.engines.flowelements.CloudPipelineBuilderBase
cloudRequestOrigin, dataEndpoint, evidenceKeysEndpoint, licenseKey, propertiesEndpoint, resourceKey, urlFields inherited from class fiftyone.pipeline.engines.flowelements.PrePackagedPipelineBuilderBase
lazyLoading, lazyLoadingTimeoutMillis, resultsCache, resultsCacheSizeFields inherited from class fiftyone.pipeline.core.flowelements.PipelineBuilderBase
autoCloseElements, flowElements, logger, loggerFactory, services, suppressProcessExceptions -
Constructor Summary
ConstructorsConstructorDescriptionDeviceDetectionCloudPipelineBuilder(org.slf4j.ILoggerFactory loggerFactory, fiftyone.pipeline.engines.services.HttpClient httpClient) Internal Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfiftyone.pipeline.core.flowelements.Pipelinebuild()Build the pipeline using the configured values.Methods inherited from class fiftyone.pipeline.engines.flowelements.CloudPipelineBuilderBase
setCloudRequestOrigin, setDataEndpoint, setEndPoint, setEvidenceKeysEndpoint, setLicenseKey, setPropertiesEndpoint, setResourceKeyMethods inherited from class fiftyone.pipeline.engines.flowelements.PrePackagedPipelineBuilderBase
useLazyLoading, useLazyLoading, useResultsCache, useResultsCacheMethods inherited from class fiftyone.pipeline.core.flowelements.PipelineBuilderBase
addFlowElement, addFlowElementsParallel, addService, addServicesToPipeline, getFlowElements, onPreBuild, setAutoCloseElements, setSuppressProcessException
-
Constructor Details
-
DeviceDetectionCloudPipelineBuilder
public DeviceDetectionCloudPipelineBuilder(org.slf4j.ILoggerFactory loggerFactory, fiftyone.pipeline.engines.services.HttpClient httpClient) Internal Constructor. This builder should only be created through the DeviceDetectionPipelineBuilder- Parameters:
loggerFactory-httpClient-
-
-
Method Details
-
build
Build the pipeline using the configured values.- Overrides:
buildin classfiftyone.pipeline.core.flowelements.PipelineBuilderBase<DeviceDetectionCloudPipelineBuilder>- Returns:
- A new pipeline instance that contains a cloud request engine for making requests to the 51Degrees cloud service and a DeviceDetectionCloudEngine to interpret the device detection results.
- Throws:
Exception
-