public interface Action extends Processor<ActionAdapter>, ActionOperations
onCall method that performs an operation and returns a result. For example:
Object onCall(Number value, String text).| Modifier and Type | Method and Description |
|---|---|
void |
onProvideArgs(Set<String> names,
Map<String,Object> current,
Map<String,ArgValue<?>> provided)
A callback method that returns the provided argument values along with argument value sets (i.e.
|
getAdapter, getLogger, onConfigure, onInitgetArgsMeta, getResultMeta, setArgsMeta, setResultMetagetFeatures, getKnowledgeBase, setFeaturesgetDescription, getDisplayName, getName, setDescription, setDisplayName, setNamevoid onProvideArgs(Set<String> names, Map<String,Object> current, Map<String,ArgValue<?>> provided)
names - the not null set of argument names that are to be provided.current - the not null map of argument names and their current values passed from a client code. The map is required to contain
values of those arguments that the arguments specified in the names depend on.provided - the initially empty map of argument names and values (value sets) that is to be set up in this callback method.Copyright © 2016–2019 Softelnet. All rights reserved.