Class MediaInspectionServiceRemoteImpl

java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.inspection.remote.MediaInspectionServiceRemoteImpl
All Implemented Interfaces:
org.opencastproject.inspection.api.MediaInspectionService

public class MediaInspectionServiceRemoteImpl extends org.opencastproject.serviceregistry.api.RemoteBase implements org.opencastproject.inspection.api.MediaInspectionService
Proxies a remote media inspection service for use as a JVM-local service.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    org.opencastproject.serviceregistry.api.RemoteBase.HttpClientClosingInputStream
  • Field Summary

    Fields inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    client, elementsFromHttpResponse, remoteServiceManager, serviceType

    Fields inherited from interface org.opencastproject.inspection.api.MediaInspectionService

    JOB_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new remote media inspection service proxy
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opencastproject.job.api.Job
    enrich(org.opencastproject.mediapackage.MediaPackageElement original, boolean override)
    org.opencastproject.job.api.Job
    enrich(org.opencastproject.mediapackage.MediaPackageElement original, boolean override, Map<String,String> options)
    org.opencastproject.job.api.Job
    inspect(URI uri)
    org.opencastproject.job.api.Job
    inspect(URI uri, Map<String,String> options)
    void
    setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry remoteServiceManager)
    Sets the remote service manager.
    void
    setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient client)
    Sets the trusted http client

    Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase

    closeConnection, getResponse, getResponse, runRequest

    Methods inherited from class java.lang.Object

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

    • MediaInspectionServiceRemoteImpl

      public MediaInspectionServiceRemoteImpl()
      Constructs a new remote media inspection service proxy
  • Method Details

    • setTrustedHttpClient

      public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient client)
      Sets the trusted http client
      Overrides:
      setTrustedHttpClient in class org.opencastproject.serviceregistry.api.RemoteBase
      Parameters:
      client -
    • setRemoteServiceManager

      public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry remoteServiceManager)
      Sets the remote service manager.
      Overrides:
      setRemoteServiceManager in class org.opencastproject.serviceregistry.api.RemoteBase
      Parameters:
      remoteServiceManager -
    • inspect

      public org.opencastproject.job.api.Job inspect(URI uri) throws org.opencastproject.inspection.api.MediaInspectionException
      Specified by:
      inspect in interface org.opencastproject.inspection.api.MediaInspectionService
      Throws:
      org.opencastproject.inspection.api.MediaInspectionException
      See Also:
      • MediaInspectionService.inspect(java.net.URI)
    • inspect

      public org.opencastproject.job.api.Job inspect(URI uri, Map<String,String> options) throws org.opencastproject.inspection.api.MediaInspectionException
      Specified by:
      inspect in interface org.opencastproject.inspection.api.MediaInspectionService
      Throws:
      org.opencastproject.inspection.api.MediaInspectionException
      See Also:
      • MediaInspectionService.inspect(java.net.URI)
    • enrich

      public org.opencastproject.job.api.Job enrich(org.opencastproject.mediapackage.MediaPackageElement original, boolean override) throws org.opencastproject.inspection.api.MediaInspectionException
      Specified by:
      enrich in interface org.opencastproject.inspection.api.MediaInspectionService
      Throws:
      org.opencastproject.inspection.api.MediaInspectionException
    • enrich

      public org.opencastproject.job.api.Job enrich(org.opencastproject.mediapackage.MediaPackageElement original, boolean override, Map<String,String> options) throws org.opencastproject.inspection.api.MediaInspectionException
      Specified by:
      enrich in interface org.opencastproject.inspection.api.MediaInspectionService
      Throws:
      org.opencastproject.inspection.api.MediaInspectionException