public abstract class ConnectorPlugin
extends java.lang.Object
builder(Class)
to create an instance, for example:
public class MyConnectorPluginProvider extends ConnectorPluginProvider { public ConnectorPlugin get(){ return ConnectorPlugin.build(MyConnectorConfig.class) .withFetcher("default", MyFetcher.class) .build(); } }
ConnectorConfig
,
ConnectorPluginProvider
Modifier and Type | Class and Description |
---|---|
static class |
ConnectorPlugin.Builder
A simple Builder for a ConnectorPlugin.
|
static class |
ConnectorPlugin.ComponentDefinition<T extends java.lang.Class<? extends Component>>
This class represents a "component", which is really just a primary interface supported by our plugin SDK.
|
static class |
ConnectorPlugin.FetcherDef |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUGIN_TYPE_SUFFIX_KEY |
Modifier and Type | Method and Description |
---|---|
static ConnectorPlugin.Builder |
builder(java.lang.Class<? extends ConnectorConfig<?>> configClass) |
boolean |
concurrentFetchers() |
java.lang.Class |
getConfigClass() |
java.util.Optional<ConnectorPlugin.FetcherDef> |
getFetcherDefByName(java.lang.String phaseName) |
java.util.List<ConnectorPlugin.FetcherDef> |
getFetcherDefs() |
java.lang.String |
getPluginTypeSuffix() |
java.util.Optional<SecuritySpec> |
getSecuritySpec() |
ConnectorPlugin.ComponentDefinition<java.lang.Class<? extends ValidationComponent>> |
getValidatorComponentDef() |
public static final java.lang.String PLUGIN_TYPE_SUFFIX_KEY
public java.lang.Class getConfigClass()
public java.util.Optional<ConnectorPlugin.FetcherDef> getFetcherDefByName(java.lang.String phaseName)
public java.util.List<ConnectorPlugin.FetcherDef> getFetcherDefs()
public boolean concurrentFetchers()
public java.util.Optional<SecuritySpec> getSecuritySpec()
public ConnectorPlugin.ComponentDefinition<java.lang.Class<? extends ValidationComponent>> getValidatorComponentDef()
public java.lang.String getPluginTypeSuffix()
public static ConnectorPlugin.Builder builder(java.lang.Class<? extends ConnectorConfig<?>> configClass)