Interface ProcessVariableChangedEvent

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getNewValue()
      The new value of the variable.
      java.lang.Object getOldValue()
      The old value of the variable.
      java.util.List<java.lang.String> getTags()
      List of tags associated with variable that is being changed.
      java.lang.String getVariableId()
      The unique id of the process variable (definition).
      java.lang.String getVariableInstanceId()
      The unique id of the process variable instance (as multiple node instances with the same process variable definition exists).
      boolean hasTag​(java.lang.String tag)
      Determines if variable that is being changed has given tag associated with it
    • Method Detail

      • getVariableId

        java.lang.String getVariableId()
        The unique id of the process variable (definition).
        Returns:
        the variable id
      • getVariableInstanceId

        java.lang.String getVariableInstanceId()
        The unique id of the process variable instance (as multiple node instances with the same process variable definition exists). This is an aggregation of the unique id of the instance that contains the variable scope and the variable id.
        Returns:
        the variable instance id
      • getOldValue

        java.lang.Object getOldValue()
        The old value of the variable. This may be null.
        Returns:
        the old value
      • getNewValue

        java.lang.Object getNewValue()
        The new value of the variable. This may be null.
        Returns:
        the new value
      • getTags

        java.util.List<java.lang.String> getTags()
        List of tags associated with variable that is being changed.
        Returns:
        list of tags if there are any otherwise empty list
      • hasTag

        boolean hasTag​(java.lang.String tag)
        Determines if variable that is being changed has given tag associated with it
        Parameters:
        tag - name of the tag
        Returns:
        returns true if given tag is associated with variable otherwise false