public class OrderResolver
extends java.lang.Object
Constructor and Description |
---|
OrderResolver(java.lang.String order)
Creates a new order resolver instance with the given order string.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canParseOrder(java.lang.String order)
Returns whether the given order string can be parsed.
|
java.util.List<java.util.Set<Resolver>> |
getOrder(Resolver root)
Returns a list of set of resolvers for the order, starting at the given resolver.
|
public OrderResolver(java.lang.String order)
order
- The order string.java.lang.IllegalArgumentException
- If the order string can't be parsed.public static boolean canParseOrder(java.lang.String order)
order
- The order to parse.public java.util.List<java.util.Set<Resolver>> getOrder(Resolver root)
root
- The root to start order resolving at.