Class ActivityInstanceImpl

    • Field Detail

      • NO_ACTIVITY_INSTANCES

        protected static final ActivityInstance[] NO_ACTIVITY_INSTANCES
      • NO_TRANSITION_INSTANCES

        protected static final TransitionInstance[] NO_TRANSITION_INSTANCES
      • businessKey

        protected java.lang.String businessKey
      • activityId

        protected java.lang.String activityId
      • activityName

        protected java.lang.String activityName
      • activityType

        protected java.lang.String activityType
      • executionIds

        protected java.lang.String[] executionIds
      • incidentIds

        protected java.lang.String[] incidentIds
      • incidents

        protected Incident[] incidents
    • Constructor Detail

      • ActivityInstanceImpl

        public ActivityInstanceImpl()
    • Method Detail

      • setChildActivityInstances

        public void setChildActivityInstances​(ActivityInstance[] childInstances)
      • getBusinessKey

        public java.lang.String getBusinessKey()
      • setBusinessKey

        public void setBusinessKey​(java.lang.String businessKey)
      • setActivityId

        public void setActivityId​(java.lang.String activityId)
      • getExecutionIds

        public java.lang.String[] getExecutionIds()
        Description copied from interface: ActivityInstance
        the list of executions that are currently waiting in this activity instance
        Specified by:
        getExecutionIds in interface ActivityInstance
      • setExecutionIds

        public void setExecutionIds​(java.lang.String[] executionIds)
      • setChildTransitionInstances

        public void setChildTransitionInstances​(TransitionInstance[] childTransitionInstances)
      • getActivityType

        public java.lang.String getActivityType()
        Description copied from interface: ActivityInstance
        Type of the activity, corresponds to BPMN element name in XML (e.g. 'userTask'). The type of the Root activity instance (the one corresponding to the process instance will be 'processDefinition'.
        Specified by:
        getActivityType in interface ActivityInstance
      • setActivityType

        public void setActivityType​(java.lang.String activityType)
      • setActivityName

        public void setActivityName​(java.lang.String activityName)
      • setIncidentIds

        public void setIncidentIds​(java.lang.String[] incidentIds)
      • setIncidents

        public void setIncidents​(Incident[] incidents)
      • writeTree

        protected void writeTree​(java.io.StringWriter writer,
                                 java.lang.String prefix,
                                 boolean isTail)
      • writeTransition

        protected void writeTransition​(TransitionInstance transition,
                                       java.io.StringWriter writer,
                                       java.lang.String prefix,
                                       boolean isTail)
      • collectActivityInstances

        protected void collectActivityInstances​(java.lang.String activityId,
                                                java.util.List<ActivityInstance> instances)
      • collectTransitionInstances

        protected void collectTransitionInstances​(java.lang.String activityId,
                                                  java.util.List<TransitionInstance> instances)