Package apps.startup

Class ScriptButtonModel

    • Method Detail

      • getScript

        public java.io.File getScript()
      • setScript

        public void setScript​(java.io.File script)
      • performAction

        public void performAction()
                           throws JmriException
        Description copied from interface: StartupModel
        Perform the startup action. The caller is responsible to ensure that this startup model is enabled before calling this method.
        Throws:
        JmriException - if there is an exception thrown initializing the startup item; the original exception should be available as Throwable.getCause()