org.jbpm.kie.services.impl.model

## Class UserTaskInstanceWithVarsDesc

- java.lang.Object
- - org.jbpm.kie.services.impl.model.UserTaskInstanceDesc
  - - org.jbpm.kie.services.impl.model.UserTaskInstanceWithVarsDesc

- All Implemented Interfaces:
    Serializable, UserTaskInstanceDesc, UserTaskInstanceWithVarsDesc

      public class UserTaskInstanceWithVarsDesc
      extends UserTaskInstanceDesc
      implements UserTaskInstanceWithVarsDesc, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserTaskInstanceWithVarsDesc(Long taskId, String status, Date activationTime, String name, String description, Integer priority, String actualOwner, String createdBy, String deploymentId, String processId, Long processInstanceId, Date createdOn, Date dueDate)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addVariable(String variable, Object variableValue)`
    `Map<String,Object>` | `getVariables()` Returns the uer task variables
    `void` | `setVariables(Map<String,Object> variables)`

    - ### Methods inherited from class org.jbpm.kie.services.impl.model.UserTaskInstanceDesc

      `getActivationTime, getActualOwner, getCreatedBy, getCreatedOn, getDeploymentId, getDescription, getDueDate, getFormName, getName, getPriority, getProcessId, getProcessInstanceId, getSlaCompliance, getSlaDueDate, getStatus, getTaskId, getWorkItemId, setDescription, setDueDate, setFormName, setName, setPriority, setSlaCompliance, setSlaDueDate, toString`

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

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

    - ### Methods inherited from interface org.jbpm.services.api.model.UserTaskInstanceDesc

      `getActivationTime, getActualOwner, getCreatedBy, getCreatedOn, getDeploymentId, getDescription, getDueDate, getFormName, getName, getPriority, getProcessId, getProcessInstanceId, getSlaCompliance, getSlaDueDate, getStatus, getTaskId, getWorkItemId, setSlaCompliance, setSlaDueDate`

- - ### Constructor Detail

    - #### UserTaskInstanceWithVarsDesc

          public UserTaskInstanceWithVarsDesc(Long taskId,
                                              String status,
                                              Date activationTime,
                                              String name,
                                              String description,
                                              Integer priority,
                                              String actualOwner,
                                              String createdBy,
                                              String deploymentId,
                                              String processId,
                                              Long processInstanceId,
                                              Date createdOn,
                                              Date dueDate)

  - ### Method Detail

    - #### getVariables

          public Map<String,Object> getVariables()

      Description copied from interface: `UserTaskInstanceWithVarsDesc`
      Returns the uer task variables
      Specified by:
        `getVariables` in interface `UserTaskInstanceWithVarsDesc`
      Returns:
        variables

    - #### setVariables

          public void setVariables(Map<String,Object> variables)

    - #### addVariable

          public void addVariable(String variable,
                                  Object variableValue)

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