public class ContextStackItem
extends java.lang.Object
ContextStack
.Constructor and Description |
---|
ContextStackItem(long time,
Action action,
java.lang.String input,
ActionResult result)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Action |
getAction()
Returns the
Action . |
ActionResult |
getActionResult()
|
long |
getAge()
Returns the age of the item.
|
java.lang.String |
getInputString()
Returns the user input String.
|
long |
getTime()
Returns the time of execution.
|
public ContextStackItem(long time, Action action, java.lang.String input, ActionResult result)
time
- The time of Action execution.action
- The Action
input
- The whole user input String.result
- The ActionResult
the Action
returned after
execution.public long getAge()
System.currentTimeMillis()
and
getTime()
.public long getTime()
public java.lang.String getInputString()
public ActionResult getActionResult()