Class TextAnalysisRemoteImpl
java.lang.Object
org.opencastproject.serviceregistry.api.RemoteBase
org.opencastproject.textanalyzer.remote.TextAnalysisRemoteImpl
- All Implemented Interfaces:
org.opencastproject.textanalyzer.api.TextAnalyzerService
public class TextAnalysisRemoteImpl
extends org.opencastproject.serviceregistry.api.RemoteBase
implements org.opencastproject.textanalyzer.api.TextAnalyzerService
-
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.textanalyzer.api.TextAnalyzerService
JOB_TYPE, OPERATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.job.api.Jobextract(org.opencastproject.mediapackage.Attachment image) voidsetRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) voidsetTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) Methods inherited from class org.opencastproject.serviceregistry.api.RemoteBase
closeConnection, getResponse, getResponse, runRequest
-
Constructor Details
-
TextAnalysisRemoteImpl
public TextAnalysisRemoteImpl()
-
-
Method Details
-
extract
public org.opencastproject.job.api.Job extract(org.opencastproject.mediapackage.Attachment image) throws org.opencastproject.textanalyzer.api.TextAnalyzerException - Specified by:
extractin interfaceorg.opencastproject.textanalyzer.api.TextAnalyzerService- Throws:
org.opencastproject.textanalyzer.api.TextAnalyzerException
-
setTrustedHttpClient
public void setTrustedHttpClient(org.opencastproject.security.api.TrustedHttpClient trustedHttpClient) - Overrides:
setTrustedHttpClientin classorg.opencastproject.serviceregistry.api.RemoteBase
-
setRemoteServiceManager
public void setRemoteServiceManager(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) - Overrides:
setRemoteServiceManagerin classorg.opencastproject.serviceregistry.api.RemoteBase
-