Class WatchStatus.State

  • Enclosing class:
    WatchStatus

    public static class WatchStatus.State
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      State​(boolean active, org.joda.time.DateTime timestamp)  
    • Method Summary

      Modifier and Type Method Description
      org.joda.time.DateTime getTimestamp()  
      boolean isActive()  
      static WatchStatus.State parse​(XContentParser parser)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • State

        public State​(boolean active,
                     org.joda.time.DateTime timestamp)
    • Method Detail

      • isActive

        public boolean isActive()
      • getTimestamp

        public org.joda.time.DateTime getTimestamp()