Package jmri.jmrit.mailreport
Class ReportContext
- java.lang.Object
-
- jmri.jmrit.mailreport.ReportContext
-
public class ReportContext extends java.lang.Object
Provide the JMRI context info.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
report
-
Constructor Summary
Constructors Constructor Description ReportContext()
-
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
-
-
-
Field Detail
-
report
java.lang.String report
-
-
Constructor Detail
-
ReportContext
public ReportContext()
-
-
Method Detail
-
getReport
public java.lang.String getReport(boolean reportNetworkInfo)
Provide a report of the current JMRI context- Parameters:
reportNetworkInfo
- true if network connection and zeroconf service information to be included- Returns:
- current JMRI context
-
addString
void addString(java.lang.String val)
-
addProperty
void addProperty(java.lang.String prop)
-
addEarlyInitializationPreferences
void addEarlyInitializationPreferences()
-
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
-
-