@Test public void getProcessType() { ProcessPropertyWriter writer = new ProcessPropertyWriter( bpmn2.createProcess(), null, null); writer.setType(ProcessType.PRIVATE.getName()); tested = new ProcessPropertyReader(writer.getProcess(), definitionResolver.getDiagram(), definitionResolver.getShape(process.getId()), definitionResolver.getResolutionFactor()); assertEquals(tested.getProcessType(), ProcessType.PRIVATE.getName()); writer.setType(ProcessType.PUBLIC.getName()); tested = new ProcessPropertyReader(writer.getProcess(), definitionResolver.getDiagram(), definitionResolver.getShape(process.getId()), definitionResolver.getResolutionFactor()); assertEquals(tested.getProcessType(), ProcessType.PUBLIC.getName()); writer.setType(ProcessType.NONE.getName()); tested = new ProcessPropertyReader(writer.getProcess(), definitionResolver.getDiagram(), definitionResolver.getShape(process.getId()), definitionResolver.getResolutionFactor()); assertEquals(tested.getProcessType(), ProcessType.NONE.getName()); }
public String getProcessType() { return process.getProcessType().getName(); }
ProcessPropertyReader extends BasePropertyReader { public String getProcessType() { return process.getProcessType().getName(); } }
ProcessPropertyReader extends BasePropertyReader { public String getProcessType() { return process.getProcessType().getName(); } ProcessPropertyReader(Process element, BPMNDiagram diagram, BPMNShape shape, double resolutionFactor); }
ProcessPropertyReader extends BasePropertyReader { public String getProcessType() { return process.getProcessType().getName(); } ProcessPropertyReader(Process element, BPMNDiagram diagram, BPMNShape shape, double resolutionFactor); String getPackage(); String getProcessType(); String getVersion(); boolean isAdHoc(); @Override Bounds getBounds(); String getProcessVariables(); String getCaseIdPrefix(); String getCaseFileVariables(); String getCaseRoles(); FlowElement getFlowElement(String id); String getGlobalVariables(); String getMetaDataAttributes(); List<DefaultImport> getDefaultImports(); String getSlaDueDate(); }
ProcessPropertyReader extends BasePropertyReader { public String getProcessType() { return process.getProcessType().getName(); } ProcessPropertyReader(Process element, BPMNDiagram diagram, BPMNShape shape, double resolutionFactor); String getPackage(); String getProcessType(); String getVersion(); boolean isAdHoc(); @Override Bounds getBounds(); String getProcessVariables(); String getCaseIdPrefix(); String getCaseFileVariables(); String getCaseRoles(); FlowElement getFlowElement(String id); String getGlobalVariables(); String getMetaDataAttributes(); List<DefaultImport> getDefaultImports(); String getSlaDueDate();  }