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 aWayangContext
:Mapping
s,ChannelConversion
s, andConfiguration
properties.
Platform
s for its operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
configure(Configuration configuration)
Configures theConfiguration
, thereby registering the components of this instance.java.util.Collection<ChannelConversion>
getChannelConversions()
Provides theChannelConversion
s shipped with this instance.default java.util.Collection<ChannelConversion>
getExcludedChannelConversions()
Provides theChannelConversion
s excluded by this instance.default java.util.Collection<Mapping>
getExcludedMappings()
Provides theMapping
s excluded by this instance.default java.util.Collection<Platform>
getExcludedRequiredPlatforms()
Provides the requiredPlatform
s excluded by this instance.java.util.Collection<Mapping>
getMappings()
Provides theMapping
s shipped with this instance.java.util.Collection<Platform>
getRequiredPlatforms()
Provides thePlatform
s required by this instance.void
setProperties(Configuration configuration)
Provides relevantConfiguration
properties.
-
-
-
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 thePlatform
s required by this instance.- Returns:
- the
Platform
s
-
getExcludedRequiredPlatforms
default java.util.Collection<Platform> getExcludedRequiredPlatforms()
Provides the requiredPlatform
s excluded by this instance.- Returns:
- the
Platform
s
-
getMappings
java.util.Collection<Mapping> getMappings()
Provides theMapping
s shipped with this instance.- Returns:
- the
Mapping
s
-
getExcludedMappings
default java.util.Collection<Mapping> getExcludedMappings()
Provides theMapping
s excluded by this instance.- Returns:
- the
Mapping
s
-
getChannelConversions
java.util.Collection<ChannelConversion> getChannelConversions()
Provides theChannelConversion
s shipped with this instance.- Returns:
- the
ChannelConversion
s
-
getExcludedChannelConversions
default java.util.Collection<ChannelConversion> getExcludedChannelConversions()
Provides theChannelConversion
s excluded by this instance.- Returns:
- the
ChannelConversion
s
-
setProperties
void setProperties(Configuration configuration)
Provides relevantConfiguration
properties.- Parameters:
configuration
- accepts the properties
-
-