public static final class Finder.ByScopeFinder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<T extends Element> |
find(java.util.Collection<? extends Element> roots)
Collects all elements from a given root.
|
<T extends Element> |
find(java.util.Collection<? extends Element> roots,
boolean includeRoot)
Collects all elements from a given root
|
<T extends Element> |
find(Element root)
Collects all elements from a given root.Root element is included
|
<T extends Element> |
find(Element root,
boolean includeRoot)
Collects all elements from a given root
|
<T extends Element> |
find(Project project)
Collects all elements from a given project.
|
<T extends Element> |
find(Project project,
boolean includeRoot)
Collects all elements from a given project.
|
<T extends BaseElement> |
findIncludingPresentationElements(java.util.Collection<? extends Element> roots)
Collects all elements from a given root including PresentationElements.
|
<T extends BaseElement> |
findIncludingPresentationElements(java.util.Collection<? extends Element> roots,
boolean includeRoot)
Collects all elements from a given root including PresentationElements
|
<T extends BaseElement> |
findIncludingPresentationElements(Element root)
Collects all elements from a given root including PresentationElements.
|
<T extends BaseElement> |
findIncludingPresentationElements(Element root,
boolean includeRoot)
Collects all elements from a given root including PresentationElements
|
<T extends BaseElement> |
findIncludingPresentationElements(Project project)
Collects all elements from a given project including PresentationElements.
|
<T extends BaseElement> |
findIncludingPresentationElements(Project project,
boolean includeRoot)
Collects all elements from a given project including PresentationElements
|
<T extends Element> |
iterator(java.util.Collection<? extends Element> roots)
Create iterator for iterating content from a given roots including them.
|
<T extends Element> |
iterator(java.util.Collection<? extends Element> roots,
boolean includeRoot)
Create iterator for iterating content from a given root.
|
<T extends Element> |
iterator(Element root)
Create iterator for iterating content from a given root including it.
|
<T extends Element> |
iterator(Element root,
boolean includeRoot)
Create iterator for iterating content from a given root.
|
<T extends Element> |
iterator(Project project)
Create iterator for iterating content of given project including root models of project.
|
<T extends Element> |
iterator(Project project,
boolean includeRoot)
Create iterator for iterating content from a given root.
|
<T extends BaseElement> |
iteratorIncludingPresentationElements(java.util.Collection<? extends Element> roots)
Create iterator for iterating content from a given root including PresentationElements and roots
|
<T extends BaseElement> |
iteratorIncludingPresentationElements(java.util.Collection<? extends Element> roots,
boolean includeRoot)
Create iterator for iterating content from a given root including PresentationElements
|
<T extends BaseElement> |
iteratorIncludingPresentationElements(Element root)
Create iterator for iterating content from a given root including PresentationElements and root
|
<T extends BaseElement> |
iteratorIncludingPresentationElements(Element root,
boolean includeRoot)
Create iterator for iterating content from a given root including PresentationElements
|
<T extends BaseElement> |
iteratorIncludingPresentationElements(Project project)
Create iterator for iterating content of given Project including PresentationElements and project root models
|
<T extends BaseElement> |
iteratorIncludingPresentationElements(Project project,
boolean includeRoot)
Create iterator for iterating content of whole Project including PresentationElements
|
public <T extends Element> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iterator(Element root)
root
- root elementspublic <T extends Element> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iterator(Project project)
project
- projectpublic <T extends Element> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iterator(java.util.Collection<? extends Element> roots)
roots
- root elementspublic <T extends BaseElement> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iteratorIncludingPresentationElements(Element root)
root
- root elementspublic <T extends BaseElement> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iteratorIncludingPresentationElements(Project project)
public <T extends BaseElement> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iteratorIncludingPresentationElements(java.util.Collection<? extends Element> roots)
roots
- root elementspublic <T extends Element> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iterator(Element root, boolean includeRoot)
root
- root elementincludeRoot
- include rootspublic <T extends Element> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iterator(Project project, boolean includeRoot)
project
- projectincludeRoot
- include rootspublic <T extends Element> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iterator(java.util.Collection<? extends Element> roots, boolean includeRoot)
roots
- root elementsincludeRoot
- include rootspublic <T extends BaseElement> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iteratorIncludingPresentationElements(Element root, boolean includeRoot)
root
- root elementsincludeRoot
- include rootspublic <T extends BaseElement> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iteratorIncludingPresentationElements(Project project, boolean includeRoot)
project
- projectincludeRoot
- include rootspublic <T extends BaseElement> com.nomagic.ci.persistence.local.query.CloseableIterator<T> iteratorIncludingPresentationElements(java.util.Collection<? extends Element> roots, boolean includeRoot)
roots
- root elementsincludeRoot
- include rootspublic <T extends Element> java.util.Collection<T> find(Project project, boolean includeRoot)
project
- projectincludeRoot
- include project root modelspublic <T extends Element> java.util.Collection<T> find(Element root, boolean includeRoot)
root
- root elementincludeRoot
- include root into resultpublic <T extends Element> java.util.Collection<T> find(java.util.Collection<? extends Element> roots, boolean includeRoot)
roots
- root elementsincludeRoot
- includes root into resultpublic <T extends Element> java.util.Collection<T> find(Project project)
project
- projectpublic <T extends Element> java.util.Collection<T> find(Element root)
root
- root elementpublic <T extends Element> java.util.Collection<T> find(java.util.Collection<? extends Element> roots)
roots
- root elementspublic <T extends BaseElement> java.util.Collection<T> findIncludingPresentationElements(Project project)
project
- projectpublic <T extends BaseElement> java.util.Collection<T> findIncludingPresentationElements(Element root)
root
- root elementpublic <T extends BaseElement> java.util.Collection<T> findIncludingPresentationElements(java.util.Collection<? extends Element> roots)
roots
- roots elementpublic <T extends BaseElement> java.util.Collection<T> findIncludingPresentationElements(Project project, boolean includeRoot)
project
- projectincludeRoot
- include project root modelspublic <T extends BaseElement> java.util.Collection<T> findIncludingPresentationElements(Element root, boolean includeRoot)
root
- root elementincludeRoot
- include project root modelspublic <T extends BaseElement> java.util.Collection<T> findIncludingPresentationElements(java.util.Collection<? extends Element> roots, boolean includeRoot)
roots
- roots elementincludeRoot
- include project root models