Class ExecutionEnvironmentRepository

java.lang.Object
kieker.model.repository.AbstractRepository
kieker.model.repository.ExecutionEnvironmentRepository

public class ExecutionEnvironmentRepository extends AbstractRepository
Since:
1.1
Author:
Andre van Hoorn
  • Field Details

    • ROOT_EXECUTION_CONTAINER

      public static final ExecutionContainer ROOT_EXECUTION_CONTAINER
      The root execution container.
  • Constructor Details

    • ExecutionEnvironmentRepository

      public ExecutionEnvironmentRepository(SystemModelRepository systemFactory)
      Creates a new instance of this class using the given parameters.
      Parameters:
      systemFactory - The system factory.
  • Method Details

    • lookupExecutionContainerByNamedIdentifier

      public final ExecutionContainer lookupExecutionContainerByNamedIdentifier(String namedIdentifier)
      Parameters:
      namedIdentifier - The identifier to search for.
      Returns:
      The instance for the passed namedIdentifier; null if no instance with this namedIdentifier.
    • lookupExecutionContainerByContainerId

      public final ExecutionContainer lookupExecutionContainerByContainerId(int containerId)
      Returns the instance for the passed container ID; null if no instance with this ID.
      Parameters:
      containerId - The ID to search for.
      Returns:
      The container for the given ID if it exists; null otherwise.
    • createAndRegisterExecutionContainer

      public final ExecutionContainer createAndRegisterExecutionContainer(String namedIdentifier, String name)
      This method creates a new execution container and registers it as well.
      Parameters:
      namedIdentifier - The identifier of the new container.
      name - The name of the new container.
      Returns:
      The newly created execution container.
    • getExecutionContainers

      public final Collection<ExecutionContainer> getExecutionContainers()
      Delivers all available execution containers.
      Returns:
      A collection containing the available containers.