Class Timer

  • All Implemented Interfaces:
    com.consol.citrus.common.Described, com.consol.citrus.common.Named, com.consol.citrus.Completable, com.consol.citrus.container.StopTimer, com.consol.citrus.container.TestActionContainer, com.consol.citrus.TestAction, com.consol.citrus.TestActorAware

    public class Timer
    extends AbstractActionContainer
    implements com.consol.citrus.container.StopTimer
    Since:
    2.5
    Author:
    Martin Maher
    • Field Detail

      • timerComplete

        protected boolean timerComplete
      • timerException

        protected com.consol.citrus.exceptions.CitrusRuntimeException timerException
    • Method Detail

      • doExecute

        public void doExecute​(com.consol.citrus.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 com.consol.citrus.container.StopTimer
      • getInterval

        public long getInterval()
      • getDelay

        public long getDelay()
      • getRepeatCount

        public int getRepeatCount()
      • isFork

        public boolean isFork()