Package org.jbpm.casemgmt.impl.command

## Class AddDynamicTaskCommand

- java.lang.Object
- - org.jbpm.casemgmt.impl.command.CaseCommand<Void>
  - - org.jbpm.casemgmt.impl.command.AddDynamicTaskCommand

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

      public class AddDynamicTaskCommand
      extends CaseCommand<Void>

  Adds task to selected ad hoc process instance with given parameters
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AddDynamicTaskCommand​(org.kie.internal.identity.IdentityProvider identityProvider, String caseId, String nodeType, Long processInstanceId, Map<String,​Object> parameters)` |

  - ### Method Summary

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

    - ### Methods inherited from class org.jbpm.casemgmt.impl.command.CaseCommand

      `getCaseEventSupport, getCaseFile, getIdentityProvider, getRuntimeManager, triggerRules`

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

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

- - ### Constructor Detail

    - #### AddDynamicTaskCommand

          public AddDynamicTaskCommand​(org.kie.internal.identity.IdentityProvider identityProvider,
                                       String caseId,
                                       String nodeType,
                                       Long processInstanceId,
                                       Map<String,​Object> parameters)

  - ### Method Detail

    - #### execute

          public Void execute​(org.kie.api.runtime.Context context)