public interface ActionMeta extends ProcessorMeta
| Modifier and Type | Method and Description |
|---|---|
void |
addArgs(List<DataType> args)
Adds the (optional) argument type.
|
DataType |
getArg(String name)
Returns the argument type.
|
List<DataType> |
getArgs()
Returns the argument types or
null in not specified. |
DataType |
getResult()
Returns the result type or
null in not specified. |
boolean |
hasArg(String name)
Tells if an argument named
name exists. |
boolean |
isActivatable()
Tells if this action is activatable.
|
boolean |
isCallable()
Tells if this action is callable.
|
void |
setActivatable(boolean activatable)
Sets the activatable flag.
|
void |
setArgs(List<DataType> args)
Sets the (optional) argument types.
|
void |
setCallable(boolean callable)
Sets the callable flag.
|
void |
setResult(DataType result)
Sets the (optional) result type.
|
getCategory, setCategorygetDescription, getLabel, getName, setDescription, setLabel, setNamegetVersion, setVersiongetFeatures, setFeaturesList<DataType> getArgs()
null in not specified.void setArgs(List<DataType> args)
args - the argument types.void addArgs(List<DataType> args)
args - the argument type.DataType getArg(String name)
name - the argument name.boolean hasArg(String name)
name exists.true if an argument named name exists.DataType getResult()
null in not specified.void setResult(DataType result)
result - the result type.boolean isCallable()
onCall method defined. Defaults to true.true if this action is callable.void setCallable(boolean callable)
callable - the callable flag.boolean isActivatable()
true, the action should have the onIsActive callback method implemented.
Defaults to false.true if this action is activatable.void setActivatable(boolean activatable)
activatable - the activatable flag.Copyright © 2016–2020 Softelnet. All rights reserved.