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 PluginA plugin contributes the following components to aWayangContext:Mappings,ChannelConversions, andConfigurationproperties.
Platforms for its operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconfigure(Configuration configuration)Configures theConfiguration, thereby registering the components of this instance.java.util.Collection<ChannelConversion>getChannelConversions()Provides theChannelConversions shipped with this instance.default java.util.Collection<ChannelConversion>getExcludedChannelConversions()Provides theChannelConversions excluded by this instance.default java.util.Collection<Mapping>getExcludedMappings()Provides theMappings excluded by this instance.default java.util.Collection<Platform>getExcludedRequiredPlatforms()Provides the requiredPlatforms excluded by this instance.java.util.Collection<Mapping>getMappings()Provides theMappings shipped with this instance.java.util.Collection<Platform>getRequiredPlatforms()Provides thePlatforms required by this instance.voidsetProperties(Configuration configuration)Provides relevantConfigurationproperties.
-
-
-
Method Detail
-
configure
default void configure(Configuration configuration)
Configures theConfiguration, thereby registering the components of this instance.- Parameters:
configuration- that should be configured
-
getRequiredPlatforms
java.util.Collection<Platform> getRequiredPlatforms()
Provides thePlatforms required by this instance.- Returns:
- the
Platforms
-
getExcludedRequiredPlatforms
default java.util.Collection<Platform> getExcludedRequiredPlatforms()
Provides the requiredPlatforms excluded by this instance.- Returns:
- the
Platforms
-
getMappings
java.util.Collection<Mapping> getMappings()
Provides theMappings shipped with this instance.- Returns:
- the
Mappings
-
getExcludedMappings
default java.util.Collection<Mapping> getExcludedMappings()
Provides theMappings excluded by this instance.- Returns:
- the
Mappings
-
getChannelConversions
java.util.Collection<ChannelConversion> getChannelConversions()
Provides theChannelConversions shipped with this instance.- Returns:
- the
ChannelConversions
-
getExcludedChannelConversions
default java.util.Collection<ChannelConversion> getExcludedChannelConversions()
Provides theChannelConversions excluded by this instance.- Returns:
- the
ChannelConversions
-
setProperties
void setProperties(Configuration configuration)
Provides relevantConfigurationproperties.- Parameters:
configuration- accepts the properties
-
-