Added no-args generateReport() to generate default report.
There is a registerReporter() that doesn't take a type, so this seemed like the way to go, rather than changing msoy to pass in DEFAULT_TYPE. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5565 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -93,6 +93,14 @@ public class ReportManager
|
||||
_reporters.put(type, reporter);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a default state of server report.
|
||||
*/
|
||||
public String generateReport ()
|
||||
{
|
||||
return generateReport(DEFAULT_TYPE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a report for all system services registered as a {@link Reporter}.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user