Class Action
- java.lang.Object
-
- Action
-
public class Action extends java.lang.Object
The Action class represents an action taken by a BadgerBot, including the context of the method, the result of the method, and the state of the bot after the action.
-
-
Constructor Summary
Constructors Constructor Description Action(java.lang.String methodContext, java.lang.String methodResult, java.lang.String state)
Constructs an Action with the specified method context, method result, and state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Returns a string representation of the Action.
-
-
-
Constructor Detail
-
Action
public Action(java.lang.String methodContext, java.lang.String methodResult, java.lang.String state)
Constructs an Action with the specified method context, method result, and state.- Parameters:
methodContext
- the context of the method that was executedmethodResult
- the result of the method executionstate
- the state of the object after the method execution
-
-