Map<String, ServerVariable>
, because it does not
need to be extensible@Deprecated public interface ServerVariables extends Constructible, Extensible<ServerVariables>, Map<String,ServerVariable>
Modifier and Type | Method and Description |
---|---|
ServerVariables |
addServerVariable(String name,
ServerVariable serverVariable)
Deprecated.
This method adds a key-value item to a ServerVariables instance from the name-item parameter pair and returns the modified instance.
|
boolean |
containsKey(Object key)
Deprecated.
since 1.1
|
ServerVariable |
get(Object key)
Deprecated.
since 1.1
|
default ServerVariable |
getServerVariable(String name)
Deprecated.
Returns a server variable for a given name.
|
Map<String,ServerVariable> |
getServerVariables()
Deprecated.
Returns a copy map (potentially immutable) of the server variables.
|
default boolean |
hasServerVariable(String name)
Deprecated.
Check whether a server variable is present in the map.
|
ServerVariable |
put(String key,
ServerVariable value)
Deprecated.
since 1.1
|
void |
putAll(Map<? extends String,? extends ServerVariable> m)
Deprecated.
since 1.1
|
ServerVariable |
remove(Object key)
Deprecated.
since 1.1
|
void |
removeServerVariable(String name)
Deprecated.
Removes the given server variables.
|
void |
setServerVariables(Map<String,ServerVariable> items)
Deprecated.
Set the server variables map to this ServerVariables object.
|
addExtension, extensions, getExtensions, removeExtension, setExtensions
clear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
ServerVariables addServerVariable(String name, ServerVariable serverVariable)
name
- the name of ServerVariable instanceserverVariable
- the ServerVariable instance. null values will be rejected (implementation will throw an exception) or ignored.void removeServerVariable(String name)
name
- the name of ServerVariable instanceMap<String,ServerVariable> getServerVariables()
void setServerVariables(Map<String,ServerVariable> items)
items
- a map containing key-value item.default boolean hasServerVariable(String name)
getServerVariables().containsKey(name)
name
- the name of ServerVariable instancedefault ServerVariable getServerVariable(String name)
getServerVariables().get(name)
name
- the name of ServerVariable instance@Deprecated ServerVariable get(Object key)
ServerVariables
will no longer extends Map
, this method will no longer be present.
Use getServerVariable(String)
instead.get
in interface Map<String,ServerVariable>
@Deprecated boolean containsKey(Object key)
ServerVariables
will no longer extends Map
, this method will no longer be present.
Use hasServerVariable(String)
instead.containsKey
in interface Map<String,ServerVariable>
@Deprecated ServerVariable put(String key, ServerVariable value)
ServerVariables
will no longer extends Map
, this method will no longer be present.
Use addServerVariable(String, ServerVariable)
instead.put
in interface Map<String,ServerVariable>
@Deprecated void putAll(Map<? extends String,? extends ServerVariable> m)
ServerVariables
will no longer extends Map
, this method will no longer be present.
Use setServerVariables(Map)
instead.putAll
in interface Map<String,ServerVariable>
@Deprecated ServerVariable remove(Object key)
ServerVariables
will no longer extends Map
, this method will no longer be present.
Use removeServerVariable(String)
instead.remove
in interface Map<String,ServerVariable>
Copyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.