org.apache.catalina.startup
Class OrderingResolver.Ordering
java.lang.Object
org.apache.catalina.startup.OrderingResolver.Ordering
- Enclosing class:
- OrderingResolver
protected static class OrderingResolver.Ordering
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ordering
protected WebOrdering ordering
after
protected java.util.Set<OrderingResolver.Ordering> after
before
protected java.util.Set<OrderingResolver.Ordering> before
afterOthers
protected boolean afterOthers
beforeOthers
protected boolean beforeOthers
OrderingResolver.Ordering
protected OrderingResolver.Ordering()
addAfter
public boolean addAfter(OrderingResolver.Ordering ordering)
addBefore
public boolean addBefore(OrderingResolver.Ordering ordering)
validate
public void validate()
isBefore
public boolean isBefore(OrderingResolver.Ordering ordering)
- Check (recursively) if a fragment is before the specified fragment.
- Parameters:
ordering
-
- Returns:
isBeforeInternal
protected boolean isBeforeInternal(OrderingResolver.Ordering ordering,
java.util.Set<OrderingResolver.Ordering> checked)
isAfter
public boolean isAfter(OrderingResolver.Ordering ordering)
- Check (recursively) if a fragment is after the specified fragment.
- Parameters:
ordering
-
- Returns:
isAfterInternal
protected boolean isAfterInternal(OrderingResolver.Ordering ordering,
java.util.Set<OrderingResolver.Ordering> checked)
isLastBeforeOthers
public boolean isLastBeforeOthers()
- Check is a fragment marked as before others is after a fragment that is not.
- Returns:
- true if a fragment marked as before others is after a fragment that is not
isFirstAfterOthers
public boolean isFirstAfterOthers()
- Check is a fragment marked as after others is before a fragment that is not.
- Returns:
- true if a fragment marked as after others is before a fragment that is not
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.