Package org.kie.internal.ruleunit

# Interface RuleUnitComponentFactory

All Superinterfaces:
  `Comparable<KieService>`, `KieService`

public interface RuleUnitComponentFactory extends KieService

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static class`
  `RuleUnitComponentFactory.FactoryHolder`

- ## Field Summary

  ### Fields inherited from interface org.kie.api.internal.utils.KieService

  `UNDEFINED`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RuleUnitDescription`
  `createRuleUnitDescription(KiePackage pkg, Class<?> ruleUnitClass)`
  `RuleUnitDescription`
  `createRuleUnitDescription(KiePackage pkg, String ruleUnitSimpleName)`
  Creates a rule unit description from the given qualified name.
  `static RuleUnitComponentFactory`
  `get()`
  `boolean`
  `isDataSourceClass(Class<?> ruleUnitClass)`
  `boolean`
  `isRuleUnitClass(Class<?> ruleUnitClass)`

  ### Methods inherited from interface org.kie.api.internal.utils.KieService

  `compareTo, servicePriority, serviceTag`

- ## Method Details

  - ### get

    static RuleUnitComponentFactory get()

  - ### createRuleUnitDescription

    RuleUnitDescription createRuleUnitDescription(KiePackage pkg, Class<?> ruleUnitClass)

  - ### createRuleUnitDescription

    RuleUnitDescription createRuleUnitDescription(KiePackage pkg, String ruleUnitSimpleName)
    Creates a rule unit description from the given qualified name. Optional operation (may be provided by alternative implementations)
    Returns:
      null if not supported or missing.

  - ### isRuleUnitClass

    boolean isRuleUnitClass(Class<?> ruleUnitClass)

  - ### isDataSourceClass

    boolean isDataSourceClass(Class<?> ruleUnitClass)