Interface ControllerActionIO

    • Method Detail

      • getActionClass

        Class getActionClass()
        Gets the Class of the ControllerAction that this ControllerActionIO can save and load.
        Returns:
        the Class of the ControllerAction that this ControllerActionIO can save and load.
      • getSerializationID

        String getSerializationID()
        Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction. This id associates the saved action with this ControllerActionIO.
        Returns:
        the id for this ControllerActionIO to be used in loading and saving a ControllerAction
      • getActionSaver

        ActionSaver getActionSaver()
        Gets the ActionSaver used to save the ControllerAction.
        Returns:
        the ActionSaver used to save the ControllerAction.
      • getActionLoader

        ActionLoader getActionLoader​(File actionFile,
                                     Object contextID)
        Gets the ActionLoader used to load the saved action.
        Parameters:
        actionFile - the File containing the serialized data
        contextID - the context the context to load the action into
        Returns:
        the ActionLoader used to load the saved action.