org.jenkinsci.plugins.buildenvironment.actions.utils
Class Utils
java.lang.Object
org.jenkinsci.plugins.buildenvironment.actions.utils.Utils
public final class Utils
- extends Object
Utility class, contains some help methods and additional functionality.
- Author:
- yboev
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
filterMap
public static Map<String,String> filterMap(Map<String,String> map,
hudson.model.AbstractBuild<?,?> build)
- Filters the map according to what getPasswordRestrictionPatterns returns.
Made in order to hide passwords or secret phrases used during the build.
- Parameters:
map - the map being filtered.restrictedStrings - a list of strings that represent restrictions.
- Returns:
- the filtered map, not containing entries that match one of the
restriction Strings.
Copyright © 2004-2013. All Rights Reserved.