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 Constructor Description SimpleSorterByLastRun()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Map<String,Object> simpleA, Map<String,Object> simpleB)
Works on ISO8601 formatted date strings-
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
-
-