Package | Description |
---|---|
org.drools |
The KnowledgeBase and its factory.
|
org.drools.builder |
The builder package is responsible for building knowledge definitions from artifact resources.
|
org.drools.builder.help |
Providers helper classes that can be used during building.
|
org.drools.event.knowledgeagent | |
org.drools.event.knowledgebase |
Events emitted while updating the definitions in the KnowledgeBase.
|
org.drools.impl | |
org.drools.impl.adapters | |
org.drools.marshalling |
Marshalling classes are used to marshall and unmarshal StatefulKnowledgeSessions
See MarshallerFactory for more detailed information.
|
org.drools.persistence.jpa | |
org.drools.runtime |
The runtime engine classes, including StatefulKnowledgeSession and StatelessKnowledgeSession.
|
Modifier and Type | Method and Description |
---|---|
KnowledgeBase |
KBaseUnit.getKnowledgeBase()
Lazily create and return the KnowledgeBase wrapped by this KBaseUnit
|
static KnowledgeBase |
KnowledgeBaseFactory.newKnowledgeBase()
Create a new KnowledgeBase using the default KnowledgeBaseConfiguration
|
KnowledgeBase |
KnowledgeBaseFactoryService.newKnowledgeBase()
Instantiate and return a KnowledgeBase using a default KnowledgeBaseConfiguration
|
static KnowledgeBase |
KnowledgeBaseFactory.newKnowledgeBase(KnowledgeBaseConfiguration conf)
Create a new KnowledgeBase using the given KnowledgeBaseConfiguration
|
KnowledgeBase |
KnowledgeBaseFactoryService.newKnowledgeBase(KnowledgeBaseConfiguration conf)
Instantiate and return a KnowledgeBase using the given KnowledgeBaseConfiguration
|
static KnowledgeBase |
KnowledgeBaseFactory.newKnowledgeBase(String kbaseId)
Create a new KnowledgeBase using the default KnowledgeBaseConfiguration and
the given KnowledgeBase ID.
|
KnowledgeBase |
KnowledgeBaseFactoryService.newKnowledgeBase(String kbaseId)
Instantiate and return a KnowledgeBase using a default KnowledgeBaseConfiguration
and the given KnowledgeBase ID.
|
static KnowledgeBase |
KnowledgeBaseFactory.newKnowledgeBase(String kbaseId,
KnowledgeBaseConfiguration conf)
Create a new KnowledgeBase using the given KnowledgeBaseConfiguration and
the given KnowledgeBase ID.
|
KnowledgeBase |
KnowledgeBaseFactoryService.newKnowledgeBase(String kbaseId,
KnowledgeBaseConfiguration conf)
Instantiate and return a KnowledgeBase using the given KnowledgeBaseConfiguration and
the given KnowledgeBase ID.
|
Modifier and Type | Method and Description |
---|---|
KnowledgeBase |
KnowledgeBuilder.newKnowledgeBase()
Creates a new KnowledgeBase from the knowledge packages that have been added to
this builder.
|
Modifier and Type | Method and Description |
---|---|
KnowledgeBuilder |
KnowledgeBuilderFactoryService.newKnowledgeBuilder(KnowledgeBase kbase) |
static KnowledgeBuilder |
KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBase kbase) |
KnowledgeBuilder |
KnowledgeBuilderFactoryService.newKnowledgeBuilder(KnowledgeBase kbase,
KnowledgeBuilderConfiguration conf) |
static KnowledgeBuilder |
KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBase kbase,
KnowledgeBuilderConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
static JAXBContext |
KnowledgeBuilderHelper.newJAXBContext(String[] classNames,
KnowledgeBase kbase)
Creates a new JAXBContext, from which the Marshaller and Unmarshaller can be created, which are used by the Transformer
pipeline stage.
|
static JAXBContext |
KnowledgeBuilderHelper.newJAXBContext(String[] classNames,
Map<String,?> properties,
KnowledgeBase kbase) |
JAXBContext |
DroolsJaxbHelperProvider.newJAXBContext(String[] classNames,
Map<String,?> properties,
KnowledgeBase kbase)
Creates a new JAXBContext, from which the Marshaller and Unmarshaller can be created, which are used by the Transformer
pipeline stage.
|
Modifier and Type | Method and Description |
---|---|
KnowledgeBase |
KnowledgeBaseUpdatedEvent.getKnowledgeBase() |
Constructor and Description |
---|
KnowledgeBaseUpdatedEvent(KnowledgeBase kbase) |
Modifier and Type | Method and Description |
---|---|
KnowledgeBase |
BeforeKnowledgeBaseUnlockedEvent.getKnowledgeBase() |
KnowledgeBase |
KnowledgeBaseEvent.getKnowledgeBase() |
Modifier and Type | Method and Description |
---|---|
KnowledgeBase |
KnowledgeBaseFactoryServiceImpl.newKnowledgeBase() |
KnowledgeBase |
KnowledgeBuilderImpl.newKnowledgeBase() |
KnowledgeBase |
KnowledgeBaseFactoryServiceImpl.newKnowledgeBase(KnowledgeBaseConfiguration conf) |
KnowledgeBase |
KnowledgeBaseFactoryServiceImpl.newKnowledgeBase(String kbaseId) |
KnowledgeBase |
KnowledgeBaseFactoryServiceImpl.newKnowledgeBase(String kbaseId,
KnowledgeBaseConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
StatefulKnowledgeSession |
KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(int id,
KnowledgeBase kbase,
KnowledgeSessionConfiguration configuration,
Environment environment)
Deprecated.
|
StatefulKnowledgeSession |
KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(Long id,
KnowledgeBase kbase,
KnowledgeSessionConfiguration configuration,
Environment environment) |
KnowledgeBuilder |
KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBase kbase) |
KnowledgeBuilder |
KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBase kbase,
KnowledgeBuilderConfiguration conf) |
StatefulKnowledgeSession |
KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeBase kbase,
KnowledgeSessionConfiguration configuration,
Environment environment) |
Modifier and Type | Class and Description |
---|---|
class |
KnowledgeBaseAdapter |
Modifier and Type | Method and Description |
---|---|
KnowledgeBase |
KnowledgeRuntimeAdapter.getKnowledgeBase() |
Modifier and Type | Method and Description |
---|---|
static Marshaller |
MarshallerFactory.newMarshaller(KnowledgeBase kbase)
Default uses the serialise marshalling strategy.
|
Marshaller |
MarshallerProvider.newMarshaller(KnowledgeBase kbase)
The marshalling strategies for this method are undefined and thus they are derived from the ksession's or environment
provided
|
static Marshaller |
MarshallerFactory.newMarshaller(KnowledgeBase kbase,
ObjectMarshallingStrategy[] strategies) |
Marshaller |
MarshallerProvider.newMarshaller(KnowledgeBase kbase,
ObjectMarshallingStrategy[] strategies)
This will override the strategies specified in the ksession or environment.
|
Modifier and Type | Method and Description |
---|---|
KnowledgeBase |
KnowledgeRuntime.getKnowledgeBase()
Returns the KnowledgeBase reference from which this stateful session was created.
|
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.