Package FAtiMA.Core.util.enumerables
Class GoalEvent
java.lang.Object
FAtiMA.Core.util.enumerables.GoalEvent
- Author:
- Joao Dias Class that implements the Enumerable for PSI built-in motivators
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final shortstatic final short -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ACTIVATION
public static final short ACTIVATION- See Also:
-
SUCCESS
public static final short SUCCESS- See Also:
-
FAILURE
public static final short FAILURE- See Also:
-
CANCEL
public static final short CANCEL- See Also:
-
-
Constructor Details
-
GoalEvent
public GoalEvent()
-
-
Method Details
-
ParseType
Parses a string that corresponds to the GoalEvent and returns the appropriate GoalEvent (enumerable)- Parameters:
goalEvent- - the name of the type of goal event to search for- Returns:
- - the id of the goal event type
-
GetName
Gets the Goal's event type, given its identifier- Parameters:
goalEvent- id of the goal's event type- Returns:
- the name of the goal's event type
-