org.jbpm.process.audit.command

## Class FindVariableInstancesCommand

- java.lang.Object
- - org.jbpm.process.audit.command.AuditCommand<List<VariableInstanceLog>>
  - - org.jbpm.process.audit.command.FindVariableInstancesCommand

- All Implemented Interfaces:
    Serializable, org.kie.api.command.Command<List<VariableInstanceLog>>, org.kie.api.command.ExecutableCommand<List<VariableInstanceLog>>, org.kie.internal.command.ProcessInstanceIdCommand

      public class FindVariableInstancesCommand
      extends AuditCommand<List<VariableInstanceLog>>
      implements org.kie.internal.command.ProcessInstanceIdCommand

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.jbpm.process.audit.command.AuditCommand

      `auditLogService`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FindVariableInstancesCommand()`
    `FindVariableInstancesCommand(long processInstanceId)`
    `FindVariableInstancesCommand(long processInstanceId, String variableId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<VariableInstanceLog>` | `execute(org.kie.api.runtime.Context cntxt)`
    `Long` | `getProcessInstanceId()`
    `String` | `getVariableId()`
    `void` | `setProcessInstanceId(Long processInstanceId)`
    `void` | `setVariableId(String variableId)`
    `String` | `toString()`

    - ### Methods inherited from class org.jbpm.process.audit.command.AuditCommand

      `setAuditLogService, setLogEnvironment`

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

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

- - ### Constructor Detail

    - #### FindVariableInstancesCommand

          public FindVariableInstancesCommand()

    - #### FindVariableInstancesCommand

          public FindVariableInstancesCommand(long processInstanceId)

    - #### FindVariableInstancesCommand

          public FindVariableInstancesCommand(long processInstanceId,
                                              String variableId)

  - ### Method Detail

    - #### execute

          public List<VariableInstanceLog> execute(org.kie.api.runtime.Context cntxt)

      Specified by:
        `execute` in interface `org.kie.api.command.ExecutableCommand<List<VariableInstanceLog>>`

    - #### getProcessInstanceId

          public Long getProcessInstanceId()

      Specified by:
        `getProcessInstanceId` in interface `org.kie.internal.command.ProcessInstanceIdCommand`

    - #### setProcessInstanceId

          public void setProcessInstanceId(Long processInstanceId)

      Specified by:
        `setProcessInstanceId` in interface `org.kie.internal.command.ProcessInstanceIdCommand`

    - #### getVariableId

          public String getVariableId()

    - #### setVariableId

          public void setVariableId(String variableId)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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