Package jetbrains.buildServer.agent.impl
Class CaseInsensitiveBuildParams
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.CaseInsensitiveBuildParams
-
public class CaseInsensitiveBuildParams extends Object implements Map<String,String>
This is a special version of Map<String, String> designed to hold build parameters for case-insensitive process environment (Windows). This means that the access to environment variables is done is case-insensitive manner. For example if you initially place mapping "env.Path" -> "some path" you can access it withget("env.PATH"). Also updating the mapping by invokingput("env.pAtH", "some path 2")is valid as well.WARNING:
Note that the sets obtained by invoking
entrySet()orkeySet()ARE NOT case-insensitive. When you iterate through these sets you should do case-insensitive comparison by yourself when appropriate.- Author:
- Sergey.Anchipolevsky Date: 10.01.2008
-
-
Constructor Summary
Constructors Constructor Description CaseInsensitiveBuildParams()CaseInsensitiveBuildParams(Map<String,String> originalBuildParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,String>>entrySet()Stringget(Object key)booleanisEmpty()Set<String>keySet()Stringput(String key, String value)voidputAll(Map<? extends String,? extends String> t)Stringremove(Object key)intsize()StringtoString()Collection<String>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,String>
-
-