Class AtlassianJwtFetcherFactory
java.lang.Object
org.apache.tika.pipes.fetcher.atlassianjwt.AtlassianJwtFetcherFactory
- All Implemented Interfaces:
FetcherFactory, TikaExtensionFactory<Fetcher>, org.pf4j.ExtensionPoint
Factory for creating Atlassian JWT fetchers.
Example JSON configuration:
"fetchers": {
"atlassian-jwt-fetcher": {
"my-atlassian-fetcher": {
"sharedSecret": "your-shared-secret",
"issuer": "your-app-key",
"connectTimeoutMillis": 30000,
"socketTimeoutMillis": 120000
}
}
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildExtension(ExtensionConfig extensionConfig) Class<?> getName()
-
Constructor Details
-
AtlassianJwtFetcherFactory
public AtlassianJwtFetcherFactory()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTikaExtensionFactory<Fetcher>- Returns:
- name of the extension in the config file
-
buildExtension
public Fetcher buildExtension(ExtensionConfig extensionConfig) throws IOException, TikaConfigException - Specified by:
buildExtensionin interfaceTikaExtensionFactory<Fetcher>- Throws:
IOExceptionTikaConfigException
-
getConfigClass
- Specified by:
getConfigClassin interfaceFetcherFactory- Returns:
- the config POJO class for this fetcher; used to generate the JSON schema that
describes the
fetcher_config_jsona client must supply when saving a fetcher.
-