public Object start(final String uri, final String localName, final Attributes attrs, final ExtensibleXmlParser parser) throws SAXException { parser.startElementBuilder( localName, attrs ); final String id = attrs.getValue( "id" ); final String name = attrs.getValue( "name" ); final String version = attrs.getValue( "version" ); final String type = attrs.getValue( "type" ); final String packageName = attrs.getValue( "package-name" ); final String routerLayout = attrs.getValue( "routerLayout" ); RuleFlowProcess process = new RuleFlowProcess(); process.setId( id ); process.setName( name ); process.setVersion( version ); process.setType( type ); process.setPackageName( packageName ); if (routerLayout != null) { process.setMetaData("routerLayout", new Integer(routerLayout)); } ((ProcessBuildData)parser.getData()).addProcess( process ); return process; }
process.setType("RuleFlow"); if (packageName == null) { packageName = "org.drools.bpmn2";
public RuleFlowProcess() { setType(RULEFLOW_TYPE); // TODO create contexts on request ? VariableScope variableScope = new VariableScope(); addContext(variableScope); setDefaultContext(variableScope); SwimlaneContext swimLaneContext = new SwimlaneContext(); addContext(swimLaneContext); setDefaultContext(swimLaneContext); ExceptionScope exceptionScope = new ExceptionScope(); addContext(exceptionScope); setDefaultContext(exceptionScope); }
process.setType("RuleFlow"); if (packageName == null) { packageName = "org.jbpm.cmmn";
public Object start(final String uri, final String localName, final Attributes attrs, final ExtensibleXmlParser parser) throws SAXException { parser.startElementBuilder( localName, attrs ); final String id = attrs.getValue( "id" ); final String name = attrs.getValue( "name" ); final String version = attrs.getValue( "version" ); final String type = attrs.getValue( "type" ); final String packageName = attrs.getValue( "package-name" ); final String routerLayout = attrs.getValue( "routerLayout" ); RuleFlowProcess process = new RuleFlowProcess(); process.setId( id ); process.setName( name ); process.setVersion( version ); process.setType( type ); process.setPackageName( packageName ); if (routerLayout != null) { process.setMetaData("routerLayout", new Integer(routerLayout)); } ((ProcessBuildData)parser.getData()).addProcess( process ); return process; }
process.setType("RuleFlow"); if (packageName == null) { packageName = "org.drools.bpmn2";
public RuleFlowProcess() { setType(RULEFLOW_TYPE); // TODO create contexts on request ? VariableScope variableScope = new VariableScope(); addContext(variableScope); setDefaultContext(variableScope); SwimlaneContext swimLaneContext = new SwimlaneContext(); addContext(swimLaneContext); setDefaultContext(swimLaneContext); ExceptionScope exceptionScope = new ExceptionScope(); addContext(exceptionScope); setDefaultContext(exceptionScope); }
process.setType("RuleFlow"); if (packageName == null) { packageName = "org.jbpm.cmmn";