@Test public void testGetSource() throws Exception { Guide guide = guides.getGuide("Stroke_risks.v2"); String source = droolsGuideExportPlugin.getSource(guide); assertThat(source, notNullValue()); }
@Override public String getSource(Guide guide) { return new GDLDroolsConverter(guide, archetypeManager).convertToDrools(); }
DroolsGuideExportPlugin implements GuideExportPlugin { @Override public String getSource(Guide guide) { return new GDLDroolsConverter(guide, archetypeManager).convertToDrools(); } }
DroolsGuideExportPlugin implements GuideExportPlugin { @Override public String getSource(Guide guide) { return new GDLDroolsConverter(guide, archetypeManager).convertToDrools(); } DroolsGuideExportPlugin(ArchetypeManager archetypeManager); }
DroolsGuideExportPlugin implements GuideExportPlugin { @Override public String getSource(Guide guide) { return new GDLDroolsConverter(guide, archetypeManager).convertToDrools(); } DroolsGuideExportPlugin(ArchetypeManager archetypeManager); @Override String getPluginName(); @Override byte[] compile(Guide guide); @Override String getSource(Guide guide); }
DroolsGuideExportPlugin implements GuideExportPlugin { @Override public String getSource(Guide guide) { return new GDLDroolsConverter(guide, archetypeManager).convertToDrools(); } DroolsGuideExportPlugin(ArchetypeManager archetypeManager); @Override String getPluginName(); @Override byte[] compile(Guide guide); @Override String getSource(Guide guide);  }