Class Timer

All Implemented Interfaces:
org.citrusframework.common.Described, org.citrusframework.common.Named, org.citrusframework.Completable, org.citrusframework.container.StopTimer, org.citrusframework.container.TestActionContainer, org.citrusframework.TestAction, org.citrusframework.TestActorAware

public class Timer extends AbstractActionContainer implements org.citrusframework.container.StopTimer
Since:
2.5
  • Field Details

    • INDEX_SUFFIX

      protected static final String INDEX_SUFFIX
      See Also:
    • timerComplete

      protected AtomicBoolean timerComplete
    • timerException

      protected org.citrusframework.exceptions.CitrusRuntimeException timerException
  • Constructor Details

  • Method Details

    • doExecute

      public void doExecute(org.citrusframework.context.TestContext context)
      Description copied from class: AbstractTestAction
      Subclasses may add custom execution logic here.
      Specified by:
      doExecute in class AbstractTestAction
    • getTimerId

      public String getTimerId()
    • stopTimer

      public void stopTimer()
      Specified by:
      stopTimer in interface org.citrusframework.container.StopTimer
    • getInterval

      public long getInterval()
    • getDelay

      public long getDelay()
    • getRepeatCount

      public int getRepeatCount()
    • isFork

      public boolean isFork()
    • isDone

      public boolean isDone(org.citrusframework.context.TestContext context)
      Specified by:
      isDone in interface org.citrusframework.Completable
      Overrides:
      isDone in class AbstractActionContainer