org.jbpm.casemgmt.api.dynamic

## Interface TaskSpecification

- All Known Implementing Classes:
    HumanTaskSpecification, WorkItemTaskSpecification

      public interface TaskSpecification

  Provides all required information about a dynamic task so it can be represented as correct node type when added to case/process instance.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getNodeType()` Returns the type of the node that will be added.
    `Map<String,Object>` | `getParameters()` Optional set of parameters to be given to created dynamic task.

- - ### Method Detail

    - #### getNodeType

          String getNodeType()

      Returns the type of the node that will be added. Usually it corresponds to the name used when registering work item handler.
      Returns:

    - #### getParameters

          Map<String,Object> getParameters()

      Optional set of parameters to be given to created dynamic task.
      Returns:

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.