Package io.vertigo.core.node.config
Class CoreComponentConfig
- java.lang.Object
-
- io.vertigo.core.node.config.CoreComponentConfig
-
public final class CoreComponentConfig extends Object
The componentconfig class defines the configuration of a component. A component is defined by - an id. - proxy or pure component -no proxy- - a implemenation class (empty if proxy, required if not proxy) - an optional api class. (required if proxy) - a map of params- Author:
- npiedeloup, pchretien
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Class<? extends CoreComponent>>
getApiClass()
String
getId()
Class<? extends CoreComponent>
getImplClass()
Map<String,String>
getParams()
io.vertigo.core.node.config.CoreComponentConfig.Type
getType()
boolean
isAmplifier()
boolean
isConnector()
boolean
isPlugin()
-
-
-
Method Detail
-
getImplClass
public Class<? extends CoreComponent> getImplClass()
- Returns:
- impl class of the component
-
getApiClass
public Optional<Class<? extends CoreComponent>> getApiClass()
- Returns:
- api of the component
-
getId
public String getId()
- Returns:
- id of the component
-
getType
public io.vertigo.core.node.config.CoreComponentConfig.Type getType()
-
isAmplifier
public boolean isAmplifier()
- Returns:
- if the component is an amplifier
-
isPlugin
public boolean isPlugin()
- Returns:
- if the component is a plugin
-
isConnector
public boolean isConnector()
- Returns:
- if the component is a connector
-
-