Class ReplicationModelBuilder.SimpleSorterByLastRun

  • All Implemented Interfaces:
    java.util.Comparator<java.util.Map<java.lang.String,​java.lang.Object>>
    Enclosing class:
    ReplicationModelBuilder

    public static class ReplicationModelBuilder.SimpleSorterByLastRun
    extends java.lang.Object
    implements java.util.Comparator<java.util.Map<java.lang.String,​java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.util.Map<java.lang.String,​java.lang.Object> simpleA, java.util.Map<java.lang.String,​java.lang.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
    • Constructor Detail

      • SimpleSorterByLastRun

        public SimpleSorterByLastRun()
    • Method Detail

      • compare

        public int compare​(java.util.Map<java.lang.String,​java.lang.Object> simpleA,
                           java.util.Map<java.lang.String,​java.lang.Object> simpleB)
        Works on ISO8601 formatted date strings
        Specified by:
        compare in interface java.util.Comparator<java.util.Map<java.lang.String,​java.lang.Object>>