Interface ITaskContext

    • Method Detail

      • getBpmnModel

        MBpmnModel getBpmnModel()
        Get the model.
        Returns:
        The bpmn model.
      • getModelElement

        MActivity getModelElement()
        Get the model element.
        Returns:
        The model of the task.
      • getActivity

        MActivity getActivity()
        Get the activity.
        Returns:
        The activity.
      • hasParameterValue

        boolean hasParameterValue​(java.lang.String name)
        Check if the value of a parameter is set.
        Parameters:
        name - The parameter name.
        Returns:
        True, if the parameter is set to some value.
      • getParameterValue

        java.lang.Object getParameterValue​(java.lang.String name)
        Get the value of a parameter.
        Parameters:
        name - The parameter name.
        Returns:
        The parameter value.
      • setParameterValue

        void setParameterValue​(java.lang.String name,
                               java.lang.Object value)
        Set the value of a parameter.
        Parameters:
        name - The parameter name.
        value - The parameter value.
      • setParameterValue

        void setParameterValue​(java.lang.String name,
                               java.lang.Object key,
                               java.lang.Object value)
        Set the value of a parameter.
        Parameters:
        name - The parameter name.
        key - An optional helper (index, key etc.)
        value - The parameter value.
      • setOrCreateParameterValue

        void setOrCreateParameterValue​(java.lang.String name,
                                       java.lang.Object value)
        Set or create a parameter value directly in this thread.
        Parameters:
        name - The parameter name.
        value - The parameter value.
      • setOrCreateParameterValue

        void setOrCreateParameterValue​(java.lang.String name,
                                       java.lang.Object key,
                                       java.lang.Object value)
        Set or create a parameter value directly in this thread.
        Parameters:
        name - The parameter name.
        key - An optional helper (index, key etc.)
        value - The parameter value.
      • getPropertyValue

        java.lang.Object getPropertyValue​(java.lang.String name)
        Get the value of a property.
        Parameters:
        name - The property name.
        Returns:
        The property value.