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:
Mappings,ChannelConversions, andConfigurationproperties.
Platforms for its operation.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidconfigure(Configuration configuration) Configures theConfiguration, thereby registering the components of this instance.Provides theChannelConversions shipped with this instance.default Collection<ChannelConversion>Provides theChannelConversions excluded by this instance.default Collection<Mapping>Provides theMappings excluded by this instance.default Collection<Platform>Provides the requiredPlatforms excluded by this instance.Provides theMappings shipped with this instance.Provides thePlatforms required by this instance.voidsetProperties(Configuration configuration) Provides relevantConfigurationproperties.
-
Method Details
-
configure
Configures theConfiguration, thereby registering the components of this instance.- Parameters:
configuration- that should be configured
-
getRequiredPlatforms
Collection<Platform> getRequiredPlatforms()Provides thePlatforms required by this instance.- Returns:
- the
Platforms
-
getExcludedRequiredPlatforms
Provides the requiredPlatforms excluded by this instance.- Returns:
- the
Platforms
-
getMappings
Collection<Mapping> getMappings()Provides theMappings shipped with this instance.- Returns:
- the
Mappings
-
getExcludedMappings
Provides theMappings excluded by this instance.- Returns:
- the
Mappings
-
getChannelConversions
Collection<ChannelConversion> getChannelConversions()Provides theChannelConversions shipped with this instance.- Returns:
- the
ChannelConversions
-
getExcludedChannelConversions
Provides theChannelConversions excluded by this instance.- Returns:
- the
ChannelConversions
-
setProperties
Provides relevantConfigurationproperties.- Parameters:
configuration- accepts the properties
-