org.elasticsearch.common.inject.spi
Class Elements

java.lang.Object
  extended by org.elasticsearch.common.inject.spi.Elements

public final class Elements
extends Object

Exposes elements of a module so they can be inspected, validated or rewritten.

Since:
2.0
Author:
jessewilson@google.com (Jesse Wilson)

Constructor Summary
Elements()
           
 
Method Summary
static List<Element> getElements(Iterable<? extends Module> modules)
          Records the elements executed by modules.
static List<Element> getElements(Module... modules)
          Records the elements executed by modules.
static List<Element> getElements(Stage stage, Iterable<? extends Module> modules)
          Records the elements executed by modules.
static List<Element> getElements(Stage stage, Module... modules)
          Records the elements executed by modules.
static Module getModule(Iterable<? extends Element> elements)
          Returns the module composed of elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Elements

public Elements()
Method Detail

getElements

public static List<Element> getElements(Module... modules)
Records the elements executed by modules.


getElements

public static List<Element> getElements(Stage stage,
                                        Module... modules)
Records the elements executed by modules.


getElements

public static List<Element> getElements(Iterable<? extends Module> modules)
Records the elements executed by modules.


getElements

public static List<Element> getElements(Stage stage,
                                        Iterable<? extends Module> modules)
Records the elements executed by modules.


getModule

public static Module getModule(Iterable<? extends Element> elements)
Returns the module composed of elements.



Copyright © 2009-2012. All Rights Reserved.