Class ScriptSet<V extends ScriptInterface>
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.scripting.ScriptSet<V>
-
- All Implemented Interfaces:
Iterable<V>
public class ScriptSet<V extends ScriptInterface> extends Object implements Iterable<V>
This contains a set of scripts. Scripts generally have attached properties which allows for selecting which script to run.Created by Jeff Gaynor
on 2/6/20 at 12:26 PM
-
-
Constructor Summary
Constructors Constructor Description ScriptSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(V script)
void
forEach(Consumer<? super V> action)
List<ScriptInterface>
get(String key, String value)
Finds a script for a given key pair or a null if there is no such script.List<V>
getScripts()
boolean
isEmpty()
Iterator<V>
iterator()
int
size()
Spliterator<V>
spliterator()
String
toString()
-
-
-
Field Detail
-
scripts
protected List<V extends ScriptInterface> scripts
-
-
Method Detail
-
add
public void add(V script)
-
get
public List<ScriptInterface> get(String key, String value)
Finds a script for a given key pair or a null if there is no such script.- Parameters:
key
-value
-- Returns:
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
forEach
public void forEach(Consumer<? super V> action)
- Specified by:
forEach
in interfaceIterable<V extends ScriptInterface>
-
spliterator
public Spliterator<V> spliterator()
- Specified by:
spliterator
in interfaceIterable<V extends ScriptInterface>
-
iterator
public Iterator<V> iterator()
- Specified by:
iterator
in interfaceIterable<V extends ScriptInterface>
-
-