if ( nodeInstance instanceof RuleSetNodeInstance ) { _content = JBPMMessages.ProcessInstance.NodeInstanceContent.newBuilder() .setType( NodeInstanceType.RULE_SET_NODE ); List<Long> timerInstances = ((RuleSetNodeInstance) nodeInstance).getTimerInstances(); .setType( NodeInstanceType.HUMAN_TASK_NODE ) .setHumanTask( _task.build() ); } else if ( nodeInstance instanceof WorkItemNodeInstance ) { .setType( NodeInstanceType.WORK_ITEM_NODE ) .setWorkItem( _wi.build() ); } else if ( nodeInstance instanceof SubProcessNodeInstance ) { .setType( NodeInstanceType.SUBPROCESS_NODE ) .setSubProcess( _sp.build() ); } else if ( nodeInstance instanceof MilestoneNodeInstance ) { .setType( NodeInstanceType.MILESTONE_NODE ) .setMilestone( _ms.build() ); } else if ( nodeInstance instanceof AsyncEventNodeInstance ) { .setType( NodeInstanceType.ASYNC_EVENT_NODE ) .setAsyncEvent(_asyncEvent.build()); .setType( NodeInstanceType.EVENT_NODE ); } else if ( nodeInstance instanceof TimerNodeInstance ) { _content = JBPMMessages.ProcessInstance.NodeInstanceContent.newBuilder() .setType( NodeInstanceType.TIMER_NODE )
if ( nodeInstance instanceof RuleSetNodeInstance ) { _content = JBPMMessages.ProcessInstance.NodeInstanceContent.newBuilder() .setType( NodeInstanceType.RULE_SET_NODE ); List<Long> timerInstances = ((RuleSetNodeInstance) nodeInstance).getTimerInstances(); .setType( NodeInstanceType.HUMAN_TASK_NODE ) .setHumanTask( _task.build() ); } else if ( nodeInstance instanceof WorkItemNodeInstance ) { .setType( NodeInstanceType.WORK_ITEM_NODE ) .setWorkItem( _wi.build() ); } else if ( nodeInstance instanceof SubProcessNodeInstance ) { .setType( NodeInstanceType.SUBPROCESS_NODE ) .setSubProcess( _sp.build() ); } else if ( nodeInstance instanceof MilestoneNodeInstance ) { .setType( NodeInstanceType.MILESTONE_NODE ) .setMilestone( _ms.build() ); } else if ( nodeInstance instanceof AsyncEventNodeInstance ) { .setType( NodeInstanceType.ASYNC_EVENT_NODE ) .setAsyncEvent(_asyncEvent.build()); .setType( NodeInstanceType.EVENT_NODE ); } else if ( nodeInstance instanceof TimerNodeInstance ) { _content = JBPMMessages.ProcessInstance.NodeInstanceContent.newBuilder() .setType( NodeInstanceType.TIMER_NODE )
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType());
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType());