Package dev.zemco.codegame.execution
Interface IExecutionContext
- All Known Implementing Classes:
ImmutableExecutionContext
public interface IExecutionContext
Context of a single execution, which provides access to all components related to the execution.
- Author:
- Erik Zemčík
-
Method Summary
Modifier and TypeMethodDescriptionReturns the execution engine of the execution.Returns the input source of the execution.Returns the memory of the execution.Returns the output sink of the execution.
-
Method Details
-
getExecutionEngine
IExecutionEngine getExecutionEngine()Returns the execution engine of the execution.- Returns:
- execution engine
-
getMemory
IMemory getMemory()Returns the memory of the execution.- Returns:
- memory
-
getInputSource
IInputSource getInputSource()Returns the input source of the execution.- Returns:
- input source
-
getOutputSink
IOutputSink getOutputSink()Returns the output sink of the execution.- Returns:
- output sink
-