Class 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, url
      • Fields inherited from class fiftyone.pipeline.engines.flowelements.PrePackagedPipelineBuilderBase

        lazyLoading, lazyLoadingTimeoutMillis, resultsCache, resultsCacheSize
      • Fields inherited from class fiftyone.pipeline.core.flowelements.PipelineBuilderBase

        autoCloseElements, flowElements, logger, loggerFactory, services, suppressProcessExceptions
    • Constructor Summary

      Constructors 
      Constructor Description
      DeviceDetectionCloudPipelineBuilder​(org.slf4j.ILoggerFactory loggerFactory, fiftyone.pipeline.engines.services.HttpClient httpClient)
      Internal Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fiftyone.pipeline.core.flowelements.Pipeline build()
      Build the pipeline using the configured values.
      • Methods inherited from class fiftyone.pipeline.engines.flowelements.CloudPipelineBuilderBase

        setCloudRequestOrigin, setDataEndpoint, setEndPoint, setEvidenceKeysEndpoint, setLicenseKey, setPropertiesEndpoint, setResourceKey
      • Methods inherited from class fiftyone.pipeline.engines.flowelements.PrePackagedPipelineBuilderBase

        useLazyLoading, useLazyLoading, useResultsCache, useResultsCache
      • Methods inherited from class fiftyone.pipeline.core.flowelements.PipelineBuilderBase

        addFlowElement, addFlowElementsParallel, addService, addServicesToPipeline, getFlowElements, onPreBuild, setAutoCloseElements, setSuppressProcessException
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • build

        public fiftyone.pipeline.core.flowelements.Pipeline build()
                                                           throws java.lang.Exception
        Build the pipeline using the configured values.
        Overrides:
        build in class fiftyone.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:
        java.lang.Exception