Package org.apache.wayang.core.plugin
Interface Plugin
- All Known Implementing Classes:
DynamicPlugin
,FlinkBasicPlugin
,FlinkConversionPlugin
,GenericJdbcConversionsPlugin
,GenericJdbcPlugin
,GiraphPlugin
,JavaBasicPlugin
,JavaChannelConversionPlugin
,JavaGraphPlugin
,PostgresConversionsPlugin
,PostgresPlugin
,SparkBasicPlugin
,SparkConversionPlugin
,SparkGraphPlugin
,SparkMLPlugin
,Sqlite3ConversionPlugin
,Sqlite3Plugin
,TensorflowConversionPlugin
,TensorflowPlugin
,WayangBasic
,WayangBasicGraph
public interface Plugin
A plugin contributes the following components to a
WayangContext
:
Mapping
s,ChannelConversion
s, andConfiguration
properties.
Platform
s for its operation.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
configure
(Configuration configuration) Configures theConfiguration
, thereby registering the components of this instance.Provides theChannelConversion
s shipped with this instance.default Collection<ChannelConversion>
Provides theChannelConversion
s excluded by this instance.default Collection<Mapping>
Provides theMapping
s excluded by this instance.default Collection<Platform>
Provides the requiredPlatform
s excluded by this instance.Provides theMapping
s shipped with this instance.Provides thePlatform
s required by this instance.void
setProperties
(Configuration configuration) Provides relevantConfiguration
properties.
-
Method Details
-
configure
Configures theConfiguration
, thereby registering the components of this instance.- Parameters:
configuration
- that should be configured
-
getRequiredPlatforms
Collection<Platform> getRequiredPlatforms()Provides thePlatform
s required by this instance.- Returns:
- the
Platform
s
-
getExcludedRequiredPlatforms
Provides the requiredPlatform
s excluded by this instance.- Returns:
- the
Platform
s
-
getMappings
Collection<Mapping> getMappings()Provides theMapping
s shipped with this instance.- Returns:
- the
Mapping
s
-
getExcludedMappings
Provides theMapping
s excluded by this instance.- Returns:
- the
Mapping
s
-
getChannelConversions
Collection<ChannelConversion> getChannelConversions()Provides theChannelConversion
s shipped with this instance.- Returns:
- the
ChannelConversion
s
-
getExcludedChannelConversions
Provides theChannelConversion
s excluded by this instance.- Returns:
- the
ChannelConversion
s
-
setProperties
Provides relevantConfiguration
properties.- Parameters:
configuration
- accepts the properties
-