private static String getFilteredPropValue(EnvironmentProperty prop) { if (prop == null) return "null"; String propname = prop.getName(); if (propname.toLowerCase().contains("password")) return "********"; return (prop.getResolvedValue()); }
if (prop.getResolvedValue() != null && prop.getResolvedValue().trim().length() != 0) { Method meth = null; try {
/** ** Returns the typed value object of this environment property. Throws an IllegalArgumentException if bounds checking is ** true and the value cannot be ** reconciled with the given type. */ public Object getResolvedValueObject() { if (this.valueObject == null) { this.valueObject = ""; } return getObjectFromString(this.getResolvedValue(), this.getValueType()); }
/** ** Returns the typed value object of this environment property. Throws an IllegalArgumentException if bounds checking is ** true and the value cannot be ** reconciled with the given type. */ public Object getResolvedValueObject() { if (this.valueObject == null) { this.valueObject = ""; } return getObjectFromString(this.getResolvedValue(), this.getValueType()); }