@Test public void testIsBPMNFile() throws Exception { assertTrue(BPMNFormAdapter.isBPMNFile("abc.bpmn")); assertTrue(BPMNFormAdapter.isBPMNFile("abc.bpmn2")); assertTrue(BPMNFormAdapter.isBPMNFile("abc.bpmn-cm")); assertFalse(BPMNFormAdapter.isBPMNFile("abc.bpmn2-cm")); }
static boolean isBPMNFile(final String fileName) { return ResourceType.getResourceType("BPMN2").matchesExtension(fileName); }
BPMNFormAdapter extends AbstractFormAdapter { static boolean isBPMNFile(final String fileName) { return ResourceType.getResourceType("BPMN2").matchesExtension(fileName); } }
BPMNFormAdapter extends AbstractFormAdapter { static boolean isBPMNFile(final String fileName) { return ResourceType.getResourceType("BPMN2").matchesExtension(fileName); } BPMNFormAdapter(MigrationContext migrationContext); }
BPMNFormAdapter extends AbstractFormAdapter { static boolean isBPMNFile(final String fileName) { return ResourceType.getResourceType("BPMN2").matchesExtension(fileName); } BPMNFormAdapter(MigrationContext migrationContext);  }
BPMNFormAdapter extends AbstractFormAdapter { static boolean isBPMNFile(final String fileName) { return ResourceType.getResourceType("BPMN2").matchesExtension(fileName); } BPMNFormAdapter(MigrationContext migrationContext);   }