public class Permissions extends HashMap<String,Boolean> implements JSONEnabled
A mapping from operations to booleans.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Permissions() |
| Modifier and Type | Method and Description |
|---|---|
Permissions |
add(Operation operation,
boolean allowed) |
org.codehaus.jettison.json.JSONObject |
toJSON() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic Permissions()
public Permissions add(Operation operation, boolean allowed)
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON in interface JSONEnabledCopyright © 2017. All Rights Reserved.