19 package org.turro.visual;
21 import java.util.HashSet;
23 import java.util.function.Consumer;
24 import org.turro.json.JsonSearch;
25 import org.turro.json.Jsons;
26 import org.turro.security.FlatPermissions;
27 import org.turro.security.Permissions;
28 import org.turro.util.Cached;
47 public JsonSearch
filter(JsonSearch json) {
51 protected abstract String
name();
52 protected abstract Consumer<JsonVisualConstraints>
defaults();
static FlatPermissions from(Set< String > securityGroups)
static JsonVisualConstraints load(String visualFile, Consumer< JsonVisualConstraints > defaults)
Set< String > securityGroups()
final Cached< FlatPermissions > permissions
abstract JsonSearch doFilter(JsonSearch json, JsonVisualConstraints jvc)
JsonVisualFilter addSecurity(String name)
String filter(String json)
JsonSearch filter(JsonSearch json)
final Set< String > securityGroups
abstract Consumer< JsonVisualConstraints > defaults()