public class SettingsUtil extends Object
| Constructor and Description |
|---|
SettingsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
censorValue(String section,
String key,
String value)
Blanks out the value if it determines the section/param is sensitive and should be censored
|
static boolean |
isEnum(String paramName) |
static boolean |
isSensitive(String section,
String key) |
public static boolean isSensitive(String section, String key)
section - the section of the labelkey - the key of the labelpublic static String censorValue(String section, String key, String value)
section - the section for the labelkey - the key for the labelvalue - the value that should be returned if the value is sensitivepublic static boolean isEnum(String paramName)
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.