@Test public void getBooleanProperty() { boolean b1 = PropertyHolder.getBooleanProperty("test.bool.bool1"); Assert.isTrue(b1, ErrorCodeDef.SYSTEM_ERROR_10001); boolean b2 = PropertyHolder.getBooleanProperty("test.bool.none", false); Assert.isFalse(b2, ErrorCodeDef.SYSTEM_ERROR_10001); }
public static Boolean getBooleanProperty(final String name) { return getBooleanProperty(name, null); }
PropertyHolder { public static Boolean getBooleanProperty(final String name) { return getBooleanProperty(name, null); } }
PropertyHolder { public static Boolean getBooleanProperty(final String name) { return getBooleanProperty(name, null); }  }
PropertyHolder { public static Boolean getBooleanProperty(final String name) { return getBooleanProperty(name, null); }  static Map<String, String> getProperties(); static Boolean getBooleanProperty(final String name); static Boolean getBooleanProperty(final String name, final Boolean defaultValue); static Integer getIntProperty(final String name); static Integer getIntProperty(final String name, final Integer defaultValue); static Long getLongProperty(final String name); static Long getLongProperty(final String name, final Long defaultValue); static String getProperty(final String name); static String getProperty(final String name, final String defaultValue); static void setProperty(final String name, final String value); static String getErrorMessage(final int code, final Object... params); static String getProjectName(); static String getVersion(); }
PropertyHolder { public static Boolean getBooleanProperty(final String name) { return getBooleanProperty(name, null); }  static Map<String, String> getProperties(); static Boolean getBooleanProperty(final String name); static Boolean getBooleanProperty(final String name, final Boolean defaultValue); static Integer getIntProperty(final String name); static Integer getIntProperty(final String name, final Integer defaultValue); static Long getLongProperty(final String name); static Long getLongProperty(final String name, final Long defaultValue); static String getProperty(final String name); static String getProperty(final String name, final String defaultValue); static void setProperty(final String name, final String value); static String getErrorMessage(final int code, final Object... params); static String getProjectName(); static String getVersion();  }