Class OnlyOnceTrigger

java.lang.Object
org.springframework.integration.test.util.OnlyOnceTrigger
All Implemented Interfaces:
org.springframework.scheduling.Trigger

public class OnlyOnceTrigger
extends java.lang.Object
implements org.springframework.scheduling.Trigger
Since:
2.2
  • Constructor Summary

    Constructors 
    Constructor Description
    OnlyOnceTrigger()  
  • Method Summary

    Modifier and Type Method Description
    void await()  
    boolean equals​(java.lang.Object obj)  
    int hashCode()  
    java.util.Date nextExecutionTime​(org.springframework.scheduling.TriggerContext triggerContext)  
    void reset()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • nextExecutionTime

      public java.util.Date nextExecutionTime​(org.springframework.scheduling.TriggerContext triggerContext)
      Specified by:
      nextExecutionTime in interface org.springframework.scheduling.Trigger
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • reset

      public void reset()
    • await

      public void await()