public class FileAppenderPriorityComparator extends java.lang.Object implements java.util.Comparator<io.konik.harness.FileAppender>
FileAppender
Comparator
that uses FileAppender.getPriority()
method
to define correct order.
Objects with higher priority come first.
Modifier and Type | Class and Description |
---|---|
static class |
FileAppenderPriorityComparator.Order |
Constructor and Description |
---|
FileAppenderPriorityComparator(FileAppenderPriorityComparator.Order order) |
Modifier and Type | Method and Description |
---|---|
int |
compare(io.konik.harness.FileAppender fa1,
io.konik.harness.FileAppender fa2) |
public FileAppenderPriorityComparator(FileAppenderPriorityComparator.Order order)
public int compare(io.konik.harness.FileAppender fa1, io.konik.harness.FileAppender fa2)
compare
in interface java.util.Comparator<io.konik.harness.FileAppender>
Copyright © 2014-2018 Konik.io. All Rights Reserved.