org.eclipse.viatra.transformation.evm.api

## Interface IExecutor

- All Known Implementing Classes:
    AdaptableExecutor, Executor

      public interface IExecutor

  Interface that defines the main entry points of EVM based execution.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `endExecution(java.lang.String transactionID)` Signals the end of the execution,It receives the transaction ID as a parameter
    `void` | `execute(java.util.Iterator<Activation<?>> activations)` executes a given set of EVM `Activation`.
    `Context` | `getContext()` Returns the `Context` of the executor.
    `void` | `startExecution(java.lang.String transactionID)` Signals the beginning of the execution,It receives the transaction ID as a parameter

- - ### Method Detail

    - #### startExecution

          void startExecution(java.lang.String transactionID)

      Signals the beginning of the execution,It receives the transaction ID as a parameter
      Parameters:
        `transactionID` -

    - #### execute

          void execute(java.util.Iterator<Activation<?>> activations)

      executes a given set of EVM `Activation`. Make sure that if this method is used, the call is enclosed by `startExecution` and `endExecution` calls.
      Parameters:
        `activations` - `Iterator` that enables the executor to access the Activations to be executed.

    - #### endExecution

          void endExecution(java.lang.String transactionID)

      Signals the end of the execution,It receives the transaction ID as a parameter
      Parameters:
        `transactionID` -

    - #### getContext

          Context getContext()

      Returns the `Context` of the executor. The return value should never be null.