Class ReportProperties

java.lang.Object
win.dailypickle.report.html.ReportProperties

public final class ReportProperties extends Object
Merged view of dailypickle configuration: an optional dailypickle.properties file in the consuming project's working directory (falling back to a classpath-root resource of the same name, e.g. src/test/resources/dailypickle.properties), overridden per key by JVM system properties (-Ddailypickle.*). Loading is best-effort — an unreadable file is logged with the [dailypickle] prefix and ignored, never failing the run.
  • Field Details

  • Method Details

    • get

      public static String get(String key)
      System property if set, else the properties file value, else null.
    • get

      public static String get(String key, String defaultValue)
    • getLong

      public static long getLong(String key, long defaultValue)
    • getBoolean

      public static boolean getBoolean(String key)
      true only when the resolved value is the string "true" (case-insensitive).
    • keyNames

      public static Set<String> keyNames()
      Union of file and system property names, for prefix scans like dailypickle.meta.*.