Package apps.startup

Class TriggerRouteModel

    • Method Detail

      • getUserName

        public java.lang.String getUserName()
        Get the user name of the Route.
        Returns:
        the user name
      • setUserName

        public void setUserName​(java.lang.String name)
        Set the user name of the Route.
        Parameters:
        name - user name to use
      • getRoute

        public Route getRoute()
        Get the route.
        Returns:
        the route
      • 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()