/** * Overrides for the Domain class */ @Override public String get(String key) { return getProperty(key); }
/** * Get a property with preprocessing it with a proper default * * @param key * @param deflt */ public String getProperty(String key, String deflt) { return getProperty(key, deflt, ","); }
/** * Overrides for the Domain class */ @Override public String get(String key) { return getProperty(key); }
/** * Get a property with preprocessing it with a proper default * * @param headerName * @param deflt * @return */ public String getProperty(String key, String deflt) { return getProperty(key, deflt, ","); }
/** * Overrides for the Domain class */ @Override public String get(String key) { return getProperty(key); }
/** * Get a property with preprocessing it with a proper default * * @param key * @param deflt */ public String getProperty(String key, String deflt) { return getProperty(key, deflt, ","); }
/** * Get a property with preprocessing it with a proper default * * @param headerName * @param deflt * @return */ public String getProperty(String key, String deflt) { return getProperty(key, deflt, ","); }
/** * Indicates that this run should ignore errors and succeed anyway * * @return true if this processor should return errors */ @Override public boolean isFailOk() { String v = getProperty(Constants.FAIL_OK, null); return v != null && v.equalsIgnoreCase("true"); }
@Override public boolean isFailOk() { String v = getProperty(Analyzer.FAIL_OK, null); return v != null && v.equalsIgnoreCase("true"); }
public String _def(String args[]) { if (args.length != 2) throw new RuntimeException("Need a value for the ${def;<value>} macro"); return domain.getProperty(args[1], ""); }
public String _def(String args[]) { if (args.length < 2) throw new RuntimeException("Need a value for the ${def;<value>} macro"); if (args.length > 3) throw new RuntimeException("Too many args for ${def;<value>} macro"); return domain.getProperty(args[1], args.length == 3 ? args[2] : ""); }
public String mergeProperties(String key, String separator) { if (since(About._2_4)) return getProperty(key + "|" + key + ".*", null, separator); else return getProperty(key); }
public String mergeProperties(String key, String separator) { if (since(About._2_4)) return getProperty(key + "|" + key + ".*", null, separator); else return getProperty(key); }
@Override public Object get(String key) throws Exception { if (key.endsWith("[]")) { key = key.substring(0, key.length() - 2); return toCollection(domain.getProperty(key)); } else return domain.getProperty(key); }
/** * Simplified way to check booleans */ public boolean is(String propertyName) { return isTrue(getProperty(propertyName)); }
public String mergeProperties(String key, String separator) { if (since(About._2_4)) return getProperty(makeWildcard(key), null, separator, true); else return getProperty(key); }
/** * If strict is true, then extra verification is done. */ boolean isStrict() { if (strict == null) strict = isTrue(getProperty(STRICT)); // Used in property access return strict; }
/** * If strict is true, then extra verification is done. */ boolean isStrict() { if (strict == null) strict = isTrue(getProperty(STRICT)); // Used in property access return strict; }
/** * Simplified way to check booleans */ public boolean is(String propertyName) { return isTrue(getProperty(propertyName)); }
public String mergeLocalProperties(String key) { if (since(About._3_3)) { return getProperty(makeWildcard(key), null, ",", false); } else return mergeProperties(key); }