|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.repository.AssetItemIterator
This iterates over nodes and produces RuleItem's. Also allows "skipping" of results to jump to certain items, as per JCRs "skip". JCR iterators are/can be lazy, so this makes the most of it for large numbers of assets.
Constructor Summary | |
---|---|
AssetItemIterator(javax.jcr.NodeIterator nodes,
RulesRepository repo)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
Object |
next()
|
void |
remove()
|
void |
skip(int i)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssetItemIterator(javax.jcr.NodeIterator nodes, RulesRepository repo)
Method Detail |
---|
public boolean hasNext()
public Object next()
public void remove()
public void skip(int i)
i
- The number of rules to skip.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |