org.jbpm.services.task.commands

## Class GetAllCommentsCommand

- java.lang.Object
- - org.jbpm.services.task.commands.TaskCommand<List<org.kie.api.task.model.Comment>>
  - - org.jbpm.services.task.commands.GetAllCommentsCommand

- All Implemented Interfaces:
    Serializable, org.kie.api.command.Command<List<org.kie.api.task.model.Comment>>, org.kie.api.command.ExecutableCommand<List<org.kie.api.task.model.Comment>>

      public class GetAllCommentsCommand
      extends TaskCommand<List<org.kie.api.task.model.Comment>>

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.jbpm.services.task.commands.TaskCommand

      `groupIds, targetEntityId, taskId, userId`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GetAllCommentsCommand()`
    `GetAllCommentsCommand(Long taskId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<org.kie.api.task.model.Comment>` | `execute(org.kie.api.runtime.Context cntxt)`

    - ### Methods inherited from class org.jbpm.services.task.commands.TaskCommand

      `getGroupsIds, getTargetEntityId, getTaskId, getUserId, setGroupsIds, setTargetEntityId, setTaskId, setUserId`

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

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

- - ### Constructor Detail

    - #### GetAllCommentsCommand

          public GetAllCommentsCommand()

    - #### GetAllCommentsCommand

          public GetAllCommentsCommand(Long taskId)

  - ### Method Detail

    - #### execute

          public List<org.kie.api.task.model.Comment> execute(org.kie.api.runtime.Context cntxt)

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