Class Pause

    • Constructor Summary

      Constructor Description
      Pause​(InputSource device, java.time.Duration duration)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> encode()  
      protected boolean isValidFor​(SourceType sourceType)  
      • Methods inherited from class java.lang.Object

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

      • Pause

        public Pause​(InputSource device,
                     java.time.Duration duration)
        duration - If 0, this means "wait until all other actions in the tick have been evaluated". Must be greater than 0.
    • Method Detail

      • encode

        public java.util.Map<java.lang.String,​java.lang.Object> encode()
        Specified by:
        encode in interface Encodable