public class ReportGenerator extends Object
The purpose is to give the user a start point of having a completely configured properties file (and others) to work from. All the available properties, their validation rules, default values, etc. are in these files, with the actual value left blank for the user to fill in.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_LINE_WIDTH |
| Constructor and Description |
|---|
ReportGenerator() |
public static final int DEFAULT_LINE_WIDTH
public static void printProblems(PrintStream out, AppFatalException fatalException, PropertyConfigurationInternal appDef)
public static void printConstructionProblems(PrintStream out, List<ConstructionProblem> probs, PropertyConfigurationInternal appDef)
public static void printLoaderProblems(PrintStream out, List<LoaderProblem> probs, PropertyConfigurationInternal appDef)
public static void printValueProblems(PrintStream out, List<ValueProblem> probs, PropertyConfigurationInternal appDef)
public static void printRequirementProblems(PrintStream out, List<RequirementProblem> probs, PropertyConfigurationInternal appDef)
public static void printProblemHR(PrintStream out)
public static File printConfigSamples(PropertyConfigurationInternal appDef, List<Loader> loaders, boolean isDueToErrors)
appDef - loaders - isDueToErrors - public static void printConfigSamples(PropertyConfigurationInternal appDef, File sampleDir, List<Loader> loaders, boolean isDueToErrors)
sampleDir - The directory to write configuration samples toappDef - loaders - isDueToErrors - If true, the reason for these samples is b/c there was a startup error.public static void printSingleLoader(PropertyConfigurationInternal appDef, PrintStream out, SamplePrinter printer)
Copyright © 2022. All rights reserved.