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 void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<String,String>>
entrySet()
String
get(Object key)
boolean
isEmpty()
Set<String>
keySet()
String
put(String key, String value)
void
putAll(Map<? extends String,? extends String> t)
String
remove(Object key)
int
size()
String
toString()
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:
containsKey
in interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<String,String>
-
-