Package org.jbpm.shared.services.impl.commands

## Class CompositeCommand

- java.lang.Object
- - org.jbpm.shared.services.impl.commands.CompositeCommand

- All Implemented Interfaces:
    `Serializable`, `org.kie.api.command.Command<Object[]>`, `org.kie.api.command.ExecutableCommand<Object[]>`

      public class CompositeCommand
      extends Object
      implements org.kie.api.command.ExecutableCommand<Object[]>

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CompositeCommand​(org.kie.api.command.ExecutableCommand<?>... commands)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object[]` | `execute​(org.kie.api.runtime.Context context)` |

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

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

- - ### Constructor Detail

    - #### CompositeCommand

          public CompositeCommand​(org.kie.api.command.ExecutableCommand<?>... commands)

  - ### Method Detail

    - #### execute

          public Object[] execute​(org.kie.api.runtime.Context context)

      Specified by:
        `execute` in interface `org.kie.api.command.ExecutableCommand<Object[]>`