Class Elements
java.lang.Object
org.elasticsearch.common.inject.spi.Elements
public final class Elements
extends java.lang.Object
Exposes elements of a module so they can be inspected, validated or
rewritten.- Since:
- 2.0
-
Constructor Summary
Constructors Constructor Description Elements() -
Method Summary
Modifier and Type Method Description static java.util.List<Element>getElements(java.lang.Iterable<? extends Module> modules)Records the elements executed bymodules.static java.util.List<Element>getElements(Module... modules)Records the elements executed bymodules.static java.util.List<Element>getElements(Stage stage, java.lang.Iterable<? extends Module> modules)Records the elements executed bymodules.static ModulegetModule(java.lang.Iterable<? extends Element> elements)Returns the module composed ofelements.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Elements
public Elements()
-
-
Method Details
-
getElements
Records the elements executed bymodules. -
getElements
Records the elements executed bymodules. -
getElements
public static java.util.List<Element> getElements(Stage stage, java.lang.Iterable<? extends Module> modules)Records the elements executed bymodules. -
getModule
Returns the module composed ofelements.
-