Class Action<T extends Action>

    • Constructor Detail

      • Action

        public Action()
    • Method Detail

      • withDelay

        public T withDelay​(Delay delay)
        The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
        Parameters:
        delay - a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
      • withDelay

        public T withDelay​(TimeUnit timeUnit,
                           long value)
        The delay before responding with this request as a Delay object, for example new Delay(TimeUnit.SECONDS, 3)
        Parameters:
        timeUnit - the time unit, for example TimeUnit.SECONDS
        value - the number of time units to delay the response
      • getDelay

        public Delay getDelay()
      • withPrimary

        public T withPrimary​(boolean primary)
      • isPrimary

        public boolean isPrimary()
      • getExpectationId

        public String getExpectationId()
      • setExpectationId

        public Action setExpectationId​(String expectationId)