Class ReportContext

  • public class ReportContext
    extends java.lang.Object
    Provide the JMRI context info.
    • Field Summary

      Modifier and Type Field Description
      (package private) java.lang.String report  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void addEarlyInitializationPreferences()  
      (package private) void addProperty​(java.lang.String prop)  
      void addScreenSize()
      Provide screen - size information.
      (package private) void addString​(java.lang.String val)  
      java.lang.String getReport​(boolean reportNetworkInfo)
      Provide a report of the current JMRI context
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • report

        java.lang.String report
    • Method Detail

      • getReport

        public java.lang.String getReport​(boolean reportNetworkInfo)
        Provide a report of the current JMRI context
        reportNetworkInfo - true if network connection and zeroconf service information to be included
        current JMRI context
      • addString

        void addString​(java.lang.String val)
      • addProperty

        void addProperty​(java.lang.String prop)
      • addScreenSize

        public void addScreenSize()
        Provide screen - size information. This is based on the jmri.util.JmriJFrame calculation, but isn't refactored to there because we also want diagnostic info