Class AllowList
- java.lang.Object
-
- org.kie.workbench.common.services.shared.allowlist.AllowList
-
-
Constructor Summary
Constructors Constructor Description AllowList()AllowList(Collection<String> packageNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(String s)booleanaddAll(Collection<? extends String> collection)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> collection)booleancontainsAny(Collection<String> packages)inthashCode()booleanisEmpty()Iterator<String>iterator()booleanremove(Object o)booleanremoveAll(Collection<?> collection)booleanretainAll(Collection<?> collection)intsize()Object[]toArray()<T> T[]toArray(T[] ts)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.Set
equals, spliterator
-
-
-
-
Constructor Detail
-
AllowList
public AllowList()
-
AllowList
public AllowList(Collection<String> packageNames)
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] ts)
-
add
public boolean add(String s)
-
remove
public boolean remove(Object o)
-
containsAll
public boolean containsAll(Collection<?> collection)
- Specified by:
containsAllin interfaceCollection<String>- Specified by:
containsAllin interfaceSet<String>
-
addAll
public boolean addAll(Collection<? extends String> collection)
-
retainAll
public boolean retainAll(Collection<?> collection)
-
removeAll
public boolean removeAll(Collection<?> collection)
-
clear
public void clear()
-
containsAny
public boolean containsAny(Collection<String> packages)
-
-