public abstract class BaseAction extends BaseProcessor<ActionAdapter> implements Action
| Constructor and Description |
|---|
BaseAction() |
| Modifier and Type | Method and Description |
|---|---|
ActionAdapter |
createAdapter() |
BaseActionMeta |
getMeta() |
void |
onConfigure() |
boolean |
onIsActive(IsActionActiveContext context) |
void |
onProvideArgs(ProvideArgsContext context) |
BaseAction |
withActivatable() |
BaseAction |
withArg(DataType argType) |
BaseAction |
withArgs(List<DataType> argTypes) |
BaseAction |
withCallable(boolean callable) |
BaseAction |
withCategory(String category) |
BaseAction |
withDescription(String description) |
BaseAction |
withFeature(String name,
Object value) |
BaseAction |
withFeatures(Map<String,Object> features) |
BaseAction |
withLabel(String label) |
BaseAction |
withName(String name) |
BaseAction |
withNoArgs() |
BaseAction |
withNonCallable() |
BaseAction |
withNoResult() |
BaseAction |
withResult(DataType resultType) |
BaseAction |
withVersion(Integer version) |
getAdapter, getKb, getKnowledgeBase, getLogger, getSponge, onInit, setAdapter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdapter, getLogger, getSponge, onInitgetKnowledgeBasepublic void onConfigure()
onConfigure in interface Processor<ActionAdapter>public BaseActionMeta getMeta()
getMeta in interface ActionOperationsgetMeta in interface ProcessorOperationsgetMeta in class BaseProcessor<ActionAdapter>public final ActionAdapter createAdapter()
createAdapter in interface ProcessorAdapterFactory<ActionAdapter>public boolean onIsActive(IsActionActiveContext context)
onIsActive in interface Actionpublic void onProvideArgs(ProvideArgsContext context)
onProvideArgs in interface Actionpublic BaseAction withName(String name)
withName in class BaseProcessor<ActionAdapter>public BaseAction withLabel(String label)
withLabel in class BaseProcessor<ActionAdapter>public BaseAction withDescription(String description)
withDescription in class BaseProcessor<ActionAdapter>public BaseAction withVersion(Integer version)
withVersion in class BaseProcessor<ActionAdapter>public BaseAction withFeatures(Map<String,Object> features)
withFeatures in class BaseProcessor<ActionAdapter>public BaseAction withFeature(String name, Object value)
withFeature in class BaseProcessor<ActionAdapter>public BaseAction withCategory(String category)
withCategory in class BaseProcessor<ActionAdapter>public BaseAction withArgs(List<DataType> argTypes)
public BaseAction withArg(DataType argType)
public BaseAction withNoArgs()
public BaseAction withResult(DataType resultType)
public BaseAction withNoResult()
public BaseAction withCallable(boolean callable)
public BaseAction withNonCallable()
public BaseAction withActivatable()
Copyright © 2016–2020 Softelnet. All rights reserved.