public abstract class BaseProcessor<T extends ProcessorAdapter<?>> extends Object implements Processor<T>, ProcessorAdapterFactory<T>
| Constructor and Description |
|---|
BaseProcessor() |
| Modifier and Type | Method and Description |
|---|---|
T |
getAdapter() |
KnowledgeBase |
getKb() |
KnowledgeBase |
getKnowledgeBase() |
org.slf4j.Logger |
getLogger() |
BaseProcessorMeta |
getMeta() |
KnowledgeBaseEngineOperations |
getSponge() |
void |
onInit() |
void |
setAdapter(T adapter) |
String |
toString() |
BaseProcessor<T> |
withCategory(String category) |
BaseProcessor<T> |
withDescription(String description) |
BaseProcessor<T> |
withFeature(String name,
Object value) |
BaseProcessor<T> |
withFeatures(Map<String,Object> features) |
BaseProcessor<T> |
withLabel(String label) |
BaseProcessor<T> |
withName(String name) |
BaseProcessor<T> |
withVersion(Integer version) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonConfigurecreateAdapterpublic void onInit()
onInit in interface Processor<T extends ProcessorAdapter<?>>public final T getAdapter()
getAdapter in interface Processor<T extends ProcessorAdapter<?>>public final void setAdapter(T adapter)
public BaseProcessorMeta getMeta()
getMeta in interface ProcessorOperationspublic KnowledgeBase getKnowledgeBase()
getKnowledgeBase in interface ProcessorOperationspublic KnowledgeBaseEngineOperations getSponge()
getSponge in interface Processor<T extends ProcessorAdapter<?>>public KnowledgeBase getKb()
public final org.slf4j.Logger getLogger()
getLogger in interface Processor<T extends ProcessorAdapter<?>>public BaseProcessor<T> withName(String name)
public BaseProcessor<T> withLabel(String label)
public BaseProcessor<T> withDescription(String description)
public BaseProcessor<T> withVersion(Integer version)
public BaseProcessor<T> withFeatures(Map<String,Object> features)
public BaseProcessor<T> withFeature(String name, Object value)
public BaseProcessor<T> withCategory(String category)
Copyright © 2016–2021 Softelnet. All rights reserved.