public void execute() {
System.out.println("Executing the Action!!");
}
});
process.addNode(1L, actionNode);
EndEventNode endEvent = new EndEventNode();
process.addNode(2L, endEvent);
startEvent.addOutgoingFlow(SequenceFlow.FLOW_DEFAULT_TYPE, new SequenceFlowImpl(SequenceFlow.FLOW_DEFAULT_TYPE, actionNode));
actionNode.addOutgoingFlow(SequenceFlow.FLOW_DEFAULT_TYPE, new SequenceFlowImpl(SequenceFlow.FLOW_DEFAULT_TYPE, endEvent));