public interface PropertySorter
FileHandler may
allow for an append property that needs to be set before the file is set.| Modifier and Type | Interface and Description |
|---|---|
static class |
PropertySorter.DefaultPropertySorter
A default configurator that uses a
comparator to determine whether the properties should be
sorted and the sort order. |
| Modifier and Type | Field and Description |
|---|---|
static PropertySorter |
NO_OP
A default no-op sorter that always returns
false on the isReorderRequired(org.jboss.logmanager.config.PropertyConfigurable)
method. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReorderRequired(org.jboss.logmanager.config.PropertyConfigurable configurable)
Checks the properties and returns
true if the properties should be sorted by invoking sort(org.jboss.logmanager.config.PropertyConfigurable), otherwise false. |
void |
sort(org.jboss.logmanager.config.PropertyConfigurable configurable)
Sorts the properties.
|
static final PropertySorter NO_OP
false on the isReorderRequired(org.jboss.logmanager.config.PropertyConfigurable)
method. The sort(org.jboss.logmanager.config.PropertyConfigurable) does nothing.boolean isReorderRequired(org.jboss.logmanager.config.PropertyConfigurable configurable)
true if the properties should be sorted by invoking sort(org.jboss.logmanager.config.PropertyConfigurable), otherwise false.configurable - the configurable to checktrue if the properties should be sorted, otherwise falsevoid sort(org.jboss.logmanager.config.PropertyConfigurable configurable)
configurable - the configurable to sort the properties onCopyright © 2014 JBoss by Red Hat. All rights reserved.