Interface StartupModel

All Known Subinterfaces:
All Known Implementing Classes:
AbstractActionModel, AbstractActionModel, AbstractStartupModel, AbstractStartupModel, CreateButtonModel, PerformActionModel, PerformActionModel, PerformFileModel, PerformFileModel, PerformScriptModel, PerformScriptModel, ScriptButtonModel, StartupPauseModel, TriggerRouteModel

public interface StartupModel
Startup object models all need to implement this interface. This allows the StartupActionsManager to handle lists of different model classes.
  • Method Summary

    Modifier and Type Method Description
    void addException​(Exception exception)
    Add an exception to the list of exceptions thrown when loading the model or performing the action.
    List<Exception> getExceptions()
    Get the exceptions thrown by the startup model.
    String getName()
    Return the name of of the model or its controlled object.
    boolean isValid()
    Test is model is a valid model.
    void performAction()
    Perform the startup action.
    void setName​(String name)
    Set the name of the model.