org.eclipse.viatra.integration.mwe2.mwe2impl

## Class Parallel

- java.lang.Object
- - org.eclipse.viatra.integration.mwe2.mwe2impl.Sequence
  - - org.eclipse.viatra.integration.mwe2.mwe2impl.Parallel

- All Implemented Interfaces:
    ICompositeStep, ITransformationStep

      public class Parallel
      extends Sequence

  Composite transformation step that enables the parallel execution of transformation steps. Each transformation step will be assigned to a new thread. Be advised: The parallel regions should be independent from each other, as there is no order of execution defined. This means, that typically parallel regions should not send each other parametric messages.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Parallel.ParallelRunnable`

  - ### Field Summary

    - ### Fields inherited from class org.eclipse.viatra.integration.mwe2.mwe2impl.Sequence

      `ctx, step`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Parallel()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute()` Assign each transformation step to a Thread and run them

    - ### Methods inherited from class org.eclipse.viatra.integration.mwe2.mwe2impl.Sequence

      `addStep, dispose, getStep, initialize`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Parallel

          public Parallel()

  - ### Method Detail

    - #### execute

          public void execute()

      Assign each transformation step to a Thread and run them
      Specified by:
        `execute` in interface `ITransformationStep`
      Overrides:
        `execute` in class `Sequence`