Class RefreshableKieBase
- java.lang.Object
-
- com.netgrif.application.engine.configuration.drools.RefreshableKieBase
-
- All Implemented Interfaces:
IRefreshableKieBase
@Component public class RefreshableKieBase extends java.lang.Object implements IRefreshableKieBase
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description RefreshableKieBase(RuleRepository ruleRepository, IKnowledgeBaseInitializer knowledgeBaseInitializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.api.KieBasekieBase()voidrefresh()booleanshouldRefresh()
-
-
-
Constructor Detail
-
RefreshableKieBase
public RefreshableKieBase(@Autowired RuleRepository ruleRepository, @Autowired IKnowledgeBaseInitializer knowledgeBaseInitializer)
-
-
Method Detail
-
kieBase
public org.kie.api.KieBase kieBase()
- Specified by:
kieBasein interfaceIRefreshableKieBase
-
shouldRefresh
public boolean shouldRefresh()
- Specified by:
shouldRefreshin interfaceIRefreshableKieBase
-
refresh
public void refresh()
- Specified by:
refreshin interfaceIRefreshableKieBase
-
-