public interface IlrRFScope
extends java.io.Serializable
IlrRFScope represents rule task scope.
A scope is an ordered list of entries. Each entry is either a package or a
rule. It is identified by an ID:
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IlrRFScope.ScopeEntry |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PACKAGE
Constant value for a scope entry type of type package
|
static java.lang.String |
RULE
Constant value for a scope entry type of type rule
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEntries(java.util.List<IlrRFScope.ScopeEntry> entries)
Adds a list of entries to this scope.
|
void |
addEntry(java.lang.String type,
java.lang.String ID)
Adds a new entry to this scope.
|
void |
clear()
Clears this scope by emptying all contained scope elements.
|
boolean |
contains(java.lang.String ID)
Check if the scope contains a element with the given ID
|
java.util.List<IlrRFScope.ScopeEntry> |
getEntries()
Returns the collection of entries contained in this scope.
|
void |
removeEntry(java.lang.String entryId)
Removes an entry from this scope.
|
static final java.lang.String RULE
static final java.lang.String PACKAGE
java.util.List<IlrRFScope.ScopeEntry> getEntries()
void addEntry(java.lang.String type,
java.lang.String ID)
type - The new entry.ID - The ID of the new entry.void addEntries(java.util.List<IlrRFScope.ScopeEntry> entries)
entries - The entry list.void removeEntry(java.lang.String entryId)
entryId - The ID of the entry to remove.void clear()
boolean contains(java.lang.String ID)
ID - The ID of the element to check.ID, true
is returned.© Copyright IBM Corp. 1987, 2017