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

public interface Component extends Closeable
The basic interface of a hobbit component.
Author:
Michael Röder (roeder@informatik.uni-leipzig.de)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method initializes the component.
    void
    run()
    This method executes the component.
    void
    Setter for the configuration that the component should make use of.

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • init

      void init() throws Exception
      This method initializes the component.
      Throws:
      Exception - if an error occurs during the initialization
    • run

      void run() throws Exception
      This method executes the component.
      Throws:
      Exception - if an error occurs during the execution
    • setConfiguration

      void setConfiguration(HobbitConfiguration configuration)
      Setter for the configuration that the component should make use of.
      Parameters:
      configuration - the configuration that is used by this component