Package org.hobbit.core.components
Interface Component
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Subinterfaces:
CommandReceivingComponent,ExpectedResponseReceivingComponent,GeneratedDataReceivingComponent,ResponseReceivingComponent,TaskReceivingComponent
- All Known Implementing Classes:
AbstractBenchmarkController,AbstractCommandReceivingComponent,AbstractComponent,AbstractDataGenerator,AbstractEvaluationModule,AbstractEvaluationStorage,AbstractPlatformConnectorComponent,AbstractSequencingTaskGenerator,AbstractSystemAdapter,AbstractTaskGenerator,InMemoryEvaluationStore
The basic interface of a hobbit component.
- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit()This method initializes the component.voidrun()This method executes the component.voidsetConfiguration(HobbitConfiguration configuration) Setter for the configuration that the component should make use of.
-
Method Details
-
init
This method initializes the component.- Throws:
Exception- if an error occurs during the initialization
-
run
This method executes the component.- Throws:
Exception- if an error occurs during the execution
-
setConfiguration
Setter for the configuration that the component should make use of.- Parameters:
configuration- the configuration that is used by this component
-