Modifier and Type | Method and Description |
---|---|
ActionResult |
run(Environment environment,
Sentence sentence,
Parameter[] parameter)
This function is called when the Action should be executed.
|
ActionResult run(Environment environment, Sentence sentence, Parameter[] parameter)
environment
- The Environment
specifically for the
ActionPackage
the Action
belongs to.sentence
- The user input Sentence
.parameter
- The parsed parameters array. See Parameter
for
more information.ActionResult
.