Package org.qdl_lang.workspace
Class SIInterruptList
- java.lang.Object
-
- org.qdl_lang.workspace.SIInterruptList
-
public class SIInterruptList extends Object
Has a single collection or regex. This is used either for exclusions or inclusions.
-
-
Constructor Summary
Constructors Constructor Description SIInterruptList(String regex)
SIInterruptList(Collection interrupts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasList()
boolean
hasRegex()
boolean
matches(Object label)
Returns true if the label matches something in this set.
-
-
-
Constructor Detail
-
SIInterruptList
public SIInterruptList(Collection interrupts)
-
SIInterruptList
public SIInterruptList(String regex)
-
-
Method Detail
-
hasList
public boolean hasList()
-
hasRegex
public boolean hasRegex()
-
matches
public boolean matches(Object label)
Returns true if the label matches something in this set. Automatically figures out whether to use the regex or not.- Parameters:
label
-- Returns:
-
-