|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dllearner.core.Component
public abstract class Component
Base class of all components. See also http://dl-learner.org/wiki/Architecture.
| Constructor Summary | |
|---|---|
Component()
|
|
| Method Summary | |
|---|---|
static Collection<ConfigOption<?>> |
createConfigOptions()
Returns all configuration options supported by this component. |
abstract Configurator |
getConfigurator()
For each component, a configurator class is generated in package org.dllearner.core.configurators using the script ConfigJavaGenerator. |
static String |
getName()
Returns the name of this component. |
abstract void |
init()
Method to be called after the component has been configured. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Component()
| Method Detail |
|---|
public abstract Configurator getConfigurator()
ConfigJavaGenerator. The configurator
provides set and get methods for the configuration options of
a component.
public static String getName()
public static Collection<ConfigOption<?>> createConfigOptions()
public abstract void init()
throws ComponentInitException
ComponentInitException - This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
rethrow occuring exception as ComponentInitException and
giving an error message as well as the actualy exception by
using the constructor ComponentInitException.ComponentInitException(String, Throwable).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||