Constructor and Description |
---|
Orderer(org.slf4j.Logger logger) |
Orderer(org.slf4j.Logger logger,
boolean exceptionWhenDuplicateId) |
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() |
void |
override(Orderable<T> orderable) |
void |
override(String id,
T target,
String... constraints) |
public Orderer(org.slf4j.Logger logger)
public Orderer(org.slf4j.Logger logger, boolean exceptionWhenDuplicateId)
public void add(String id, T target, String... constraints)
id
- unique, qualified id for the targettarget
- the object to be ordered (or null as a placeholder)constraints
- optional, variable constraintsadd(Orderable)
public List<T> getOrdered()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.