@Test public void createRuleUnitDescriptionFromClass() { RuleUnitComponentFactoryImpl r = new RuleUnitComponentFactoryImpl(); KnowledgePackageImpl fooBar = new KnowledgePackageImpl("org.drools.ruleunit"); assertNotNull(r.createRuleUnitDescription(fooBar, org.drools.ruleunit.TestRuleUnit.class)); }
@Override public RuleUnitDescription createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnitClass ) { return new RuleUnitDescriptionImpl( pkg, ruleUnitClass ); }
RuleUnitComponentFactoryImpl implements RuleUnitComponentFactory { @Override public RuleUnitDescription createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnitClass ) { return new RuleUnitDescriptionImpl( pkg, ruleUnitClass ); } }
RuleUnitComponentFactoryImpl implements RuleUnitComponentFactory { @Override public RuleUnitDescription createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnitClass ) { return new RuleUnitDescriptionImpl( pkg, ruleUnitClass ); }  }
RuleUnitComponentFactoryImpl implements RuleUnitComponentFactory { @Override public RuleUnitDescription createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnitClass ) { return new RuleUnitDescriptionImpl( pkg, ruleUnitClass ); }  @Override RuleUnitDescription createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnitClass ); @Override RuleUnitDescription createRuleUnitDescription( KiePackage pkg, String ruleUnitSimpleName ); @Override ApplyPmmlModelCommandExecutor newApplyPmmlModelCommandExecutor(); @Override boolean isRuleUnitClass( Class<?> ruleUnitClass ); @Override boolean isDataSourceClass( Class<?> ruleUnitClass ); @Override boolean isLegacyRuleUnit(); }
RuleUnitComponentFactoryImpl implements RuleUnitComponentFactory { @Override public RuleUnitDescription createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnitClass ) { return new RuleUnitDescriptionImpl( pkg, ruleUnitClass ); }  @Override RuleUnitDescription createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnitClass ); @Override RuleUnitDescription createRuleUnitDescription( KiePackage pkg, String ruleUnitSimpleName ); @Override ApplyPmmlModelCommandExecutor newApplyPmmlModelCommandExecutor(); @Override boolean isRuleUnitClass( Class<?> ruleUnitClass ); @Override boolean isDataSourceClass( Class<?> ruleUnitClass ); @Override boolean isLegacyRuleUnit();  }