Class ReplicationModelBuilder.SimpleSorterByLastRun
java.lang.Object
org.alfresco.repo.web.scripts.replication.ReplicationModelBuilder.SimpleSorterByLastRun
- All Implemented Interfaces:
Comparator<Map<String,
Object>>
- Enclosing class:
- ReplicationModelBuilder
public static class ReplicationModelBuilder.SimpleSorterByLastRun
extends Object
implements Comparator<Map<String,Object>>
Sorts simple definitions by their last run time.
Things that have never been run go to the bottom of the list,
so we see most recently run, least recently run, never run.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SimpleSorterByLastRun
public SimpleSorterByLastRun()
-
-
Method Details
-
compare
Works on ISO8601 formatted date strings- Specified by:
compare
in interfaceComparator<Map<String,
Object>>
-