Package org.apache.tapestry5.ioc

## Class OrderConstraint

- java.lang.Object
- - org.apache.tapestry5.ioc.OrderConstraint

-     public class OrderConstraint
      extends Object

  Represents an order constraints for `OrderedConfiguration`.
  Since:
    5.2.0.0

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `OrderConstraint()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `OrderConstraint` | `after​(String id)` | Adds an after:id constraint.
    `OrderConstraint` | `afterAll()` | Adds an after:* constraint.
    `OrderConstraint` | `before​(String id)` | Adds a before:id constraint.
    `OrderConstraint` | `beforeAll()` | Adds a before:* constraint.
    `String[]` | `build()` | Returns all constraints as array of strings.

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

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

- - ### Constructor Detail

    - #### OrderConstraint

          public OrderConstraint()

  - ### Method Detail

    - #### after

          public OrderConstraint after​(String id)

      Adds an after:id constraint.

    - #### afterAll

          public OrderConstraint afterAll()

      Adds an after:* constraint.

    - #### before

          public OrderConstraint before​(String id)

      Adds a before:id constraint.

    - #### beforeAll

          public OrderConstraint beforeAll()

      Adds a before:* constraint.

    - #### build

          public String[] build()

      Returns all constraints as array of strings.