@Test void useInjection() { pmmlRestResourceGenerator.withDependencyInjection(null); assertFalse(pmmlRestResourceGenerator.useInjection()); pmmlRestResourceGenerator.withDependencyInjection(getDependencyInjectionAnnotator()); assertTrue(pmmlRestResourceGenerator.useInjection()); }
protected boolean useInjection() { return this.annotator != null; }
PMMLRestResourceGenerator { protected boolean useInjection() { return this.annotator != null; } }
PMMLRestResourceGenerator { protected boolean useInjection() { return this.annotator != null; } PMMLRestResourceGenerator(KiePMMLModel model, String appCanonicalName); }
PMMLRestResourceGenerator { protected boolean useInjection() { return this.annotator != null; } PMMLRestResourceGenerator(KiePMMLModel model, String appCanonicalName); String generate(); String getNameURL(); KiePMMLModel getKiePMMLModel(); PMMLRestResourceGenerator withDependencyInjection(DependencyInjectionAnnotator annotator); String className(); String generatedFilePath(); }
PMMLRestResourceGenerator { protected boolean useInjection() { return this.annotator != null; } PMMLRestResourceGenerator(KiePMMLModel model, String appCanonicalName); String generate(); String getNameURL(); KiePMMLModel getKiePMMLModel(); PMMLRestResourceGenerator withDependencyInjection(DependencyInjectionAnnotator annotator); String className(); String generatedFilePath();  }