Package jmri

Interface GlobalProgrammerManager

    • Method Detail

      • getGlobalProgrammer

        @CheckForNull
        Programmer getGlobalProgrammer()
        Gain access to the Global Mode Programmer without reservation.
        Returns:
        null only if there isn't a Global Mode Programmer available via this Manager.
      • isGlobalProgrammerAvailable

        boolean isGlobalProgrammerAvailable()
        Convenience method to check whether you'll be able to get a Global Mode programmer.
        Returns:
        false if there's no chance of getting one
      • getUserName

        @Nonnull
        java.lang.String getUserName()
        Provides the human-readable representation for including ProgrammerManagers directly in user interface components, so it should return a user-provided name for this particular one.
        Returns:
        user name of the GlobalProgrammerManager
      • toString

        @Nonnull
        java.lang.String toString()
        toString() provides the human-readable representation for including ProgrammerManagers directly in user interface components, so it should return a user-provided name for this particular one.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String representation of the GlobalProgrammerManager