org.apache.tapestry5.ioc.internal.util

## Class IdToDependencyNode<T>

- java.lang.Object
- - org.apache.tapestry5.ioc.internal.util.IdToDependencyNode<T>

-     public class IdToDependencyNode<T>
      extends Object

  Used to order objects into an "execution" order. Each object must have a unique id. It may specify a list of constraints which identify the ordering of the objects.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IdToDependencyNode(org.slf4j.Logger logger)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(Orderable<T> orderable)` Adds an object to be ordered.
    `void` | `add(String id, T target, String... constraints)` Adds an object to be ordered.
    `List<T>` | `getOrdered()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IdToDependencyNode

          public IdToDependencyNode(org.slf4j.Logger logger)

  - ### Method Detail

    - #### add

          public void add(Orderable<T> orderable)

      Adds an object to be ordered.
      Parameters:
        `orderable` -

    - #### add

          public void add(String id,
                          T target,
                          String... constraints)

      Adds an object to be ordered.
      Parameters:
        `id` - unique, qualified id for the target
        `target` - the object to be ordered (or null as a placeholder)
        `constraints` - optional, variable constraints
      See Also:
        `add(org.apache.tapestry5.ioc.Orderable)`

    - #### getOrdered

          public List<T> getOrdered()

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.