Map<String, String>, because it does not
need to be extensibles@Deprecated public interface Scopes extends Constructible, Extensible<Scopes>, Map<String,String>
| Modifier and Type | Method and Description |
|---|---|
Scopes |
addScope(String scope,
String description)
Deprecated.
Adds name of an existing scope object and item parameters to a Scopes instance as a key-value pair in a map.
|
boolean |
containsKey(Object key)
Deprecated.
since 1.1
|
String |
get(Object key)
Deprecated.
since 1.1
|
default String |
getScope(String scope)
Deprecated.
Returns a scope description for a given scope name.
|
Map<String,String> |
getScopes()
Deprecated.
Returns a copy map (potentially immutable) of scopes.
|
default boolean |
hasScope(String scope)
Deprecated.
Check whether a scope item is present in the map.
|
String |
put(String key,
String value)
Deprecated.
since 1.1
|
void |
putAll(Map<? extends String,? extends String> m)
Deprecated.
since 1.1
|
String |
remove(Object key)
Deprecated.
since 1.1
|
void |
removeScope(String scope)
Deprecated.
Removes the given scope item to this Scopes.
|
void |
setScopes(Map<String,String> items)
Deprecated.
Set the scope items map to this Scopes
|
addExtension, extensions, getExtensions, removeExtension, setExtensionsclear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, valuesScopes addScope(String scope, String description)
scope - the name of a scopedescription - description of the scope.void removeScope(String scope)
scope - the name of a scopeMap<String,String> getScopes()
void setScopes(Map<String,String> items)
items - key-value pair in a map.default boolean hasScope(String scope)
getScopes().containsKey(name)scope - the name of a scope.default String getScope(String scope)
getScopes().get(name)scope - the name of a scope.@Deprecated String get(Object key)
Scopes will no longer extends Map, this method will no longer be present.
Use getScope(String) instead.@Deprecated boolean containsKey(Object key)
Scopes will no longer extends Map, this method will no longer be present.
Use hasScope(String) instead.containsKey in interface Map<String,String>@Deprecated String put(String key, String value)
Scopes will no longer extends Map, this method will no longer be present.
Use addScope(String, String) instead.@Deprecated void putAll(Map<? extends String,? extends String> m)
Scopes will no longer extends Map, this method will no longer be present.
Use setScopes(Map) instead.@Deprecated String remove(Object key)
Scopes will no longer extends Map, this method will no longer be present.
Use removeScope(String) instead.Copyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.