protected Node createNode() { return new ActionNode(); }
protected Node createNode(Attributes attrs) { return new ActionNode(); }
protected Node createNode() { return new ActionNode(); }
protected Node createNode(Attributes attrs) { ActionNode result = new ActionNode(); result.setAction(new DroolsConsequenceAction()); return result; }
@Test public void testDefaultEntries() throws Exception { Node node = new ActionNode(); assertEquals( CreateNewNodeFactory.class, NodeInstanceFactoryRegistry.getInstance(null).getProcessNodeInstanceFactory( node ).getClass() ); }
public Object start(final String uri, final String localName, final Attributes attrs, final ExtensibleXmlParser xmlPackageReader) throws SAXException { xmlPackageReader.startElementBuilder( localName, attrs ); WorkflowProcessImpl process = ( WorkflowProcessImpl ) xmlPackageReader.getParent(); ActionNode actionNode = new ActionNode(); final String name = attrs.getValue( "name" ); emptyAttributeCheck( localName, "name", name, xmlPackageReader ); actionNode.setName( name ); final String id = attrs.getValue( "id" ); emptyAttributeCheck( localName, "id", name, xmlPackageReader ); actionNode.setId( new Long(id) ); process.addNode( actionNode ); ((ProcessBuildData)xmlPackageReader.getData()).addNode( actionNode ); return actionNode; }
process.addNode(startNode); ActionNode actionNode = new ActionNode(); actionNode.setName("Print"); DroolsAction action = new DroolsConsequenceAction("java", null);
process.addNode(startNode); ActionNode actionNode = new ActionNode(); actionNode.setName("Print"); DroolsAction action = new DroolsConsequenceAction("java", null);
process.addNode(startNode); ActionNode actionNode = new ActionNode(); actionNode.setName("Print"); DroolsAction action = new DroolsConsequenceAction("java", null);
ActionNode actionNode = new ActionNode(); DroolsAction action = new DroolsConsequenceAction("mvel", null); actionNode.setAction(action);
ActionNode actionNode = new ActionNode(); actionNode.setName("Print child"); DroolsAction action = new DroolsConsequenceAction("java", null);
ActionNode actionNode = new ActionNode(); DroolsAction action = new DroolsConsequenceAction("java", null); actionNode.setAction(action);
process.addNode(new StartNode()); process.addNode(new EndNode()); process.addNode(new ActionNode()); process.addNode(new Split()); process.addNode(new Join());
ActionNode actionNode = new ActionNode(); DroolsAction action = new DroolsConsequenceAction("java", null); actionNode.setAction(action);
workItemNode.setWork( work ); ActionNode actionNode = new ActionNode(); actionNode.setName( "Print" ); DroolsAction action = new DroolsConsequenceAction( "java" , null);
ActionNode actionNode = new ActionNode(); DroolsAction action = new DroolsConsequenceAction("JavaScript", null); actionNode.setAction(action);
timerNode, Node.CONNECTION_DEFAULT_TYPE ); ActionNode actionNode = new ActionNode(); actionNode.setId( 3 ); actionNode.setName( "Action" );
timerNode, Node.CONNECTION_DEFAULT_TYPE ); ActionNode actionNode = new ActionNode(); actionNode.setId( 3 ); actionNode.setName( "Action" );
start.setName( "Start" ); process.addNode( start ); ActionNode actionNode = new ActionNode(); actionNode.setId( 2 ); actionNode.setName( "Action" );
endNode.setId(2); subprocess.addNode(endNode); ActionNode actionNode = new ActionNode(); actionNode.setName("Action"); DroolsAction action = new DroolsConsequenceAction("java", null);