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, serviceTypeFields inherited from interface org.opencastproject.inspection.api.MediaInspectionService
JOB_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new remote media inspection service proxy -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.job.api.Jobenrich(org.opencastproject.mediapackage.MediaPackageElement original, boolean override) org.opencastproject.job.api.Jobenrich(org.opencastproject.mediapackage.MediaPackageElement original, boolean override, Map<String, String> options) org.opencastproject.job.api.Joborg.opencastproject.job.api.JobvoidsetRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry remoteServiceManager) Sets the remote service manager.voidsetTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient client) Sets the trusted http clientMethods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, getResponse, getResponse, runRequest
-
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:
setTrustedHttpClientin classorg.opencastproject.serviceregistry.api.RemoteBase- Parameters:
client-
-
setRemoteServiceManager
public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry remoteServiceManager) Sets the remote service manager.- Overrides:
setRemoteServiceManagerin classorg.opencastproject.serviceregistry.api.RemoteBase- Parameters:
remoteServiceManager-
-
inspect
public org.opencastproject.job.api.Job inspect(URI uri) throws org.opencastproject.inspection.api.MediaInspectionException - Specified by:
inspectin interfaceorg.opencastproject.inspection.api.MediaInspectionService- Throws:
org.opencastproject.inspection.api.MediaInspectionException- See Also:
-
inspect
public org.opencastproject.job.api.Job inspect(URI uri, Map<String, String> options) throws org.opencastproject.inspection.api.MediaInspectionException- Specified by:
inspectin interfaceorg.opencastproject.inspection.api.MediaInspectionService- Throws:
org.opencastproject.inspection.api.MediaInspectionException- See Also:
-
enrich
public org.opencastproject.job.api.Job enrich(org.opencastproject.mediapackage.MediaPackageElement original, boolean override) throws org.opencastproject.inspection.api.MediaInspectionException - Specified by:
enrichin interfaceorg.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:
enrichin interfaceorg.opencastproject.inspection.api.MediaInspectionService- Throws:
org.opencastproject.inspection.api.MediaInspectionException
-