Class GoalEvent

java.lang.Object
FAtiMA.Core.util.enumerables.GoalEvent

public class GoalEvent extends Object
Author:
Joao Dias Class that implements the Enumerable for PSI built-in motivators
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final short
     
    static final short
     
    static final short
     
    static final short
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    GetName(short goalEvent)
    Gets the Goal's event type, given its identifier
    static short
    ParseType(String goalEvent)
    Parses a string that corresponds to the GoalEvent and returns the appropriate GoalEvent (enumerable)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GoalEvent

      public GoalEvent()
  • Method Details

    • ParseType

      public static short ParseType(String goalEvent)
      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

      public static String GetName(short goalEvent)
      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