org.mockserver.matchers
Class Times

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
      extended by org.mockserver.matchers.Times

public class Times
extends ObjectWithReflectiveEqualsHashCodeToString

Author:
jamesdbloom

Field Summary
 
Fields inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
logger
 
Method Summary
 Times decrement()
           
static Times exactly(int count)
           
 int getRemainingTimes()
           
 boolean greaterThenZero()
           
 boolean isUnlimited()
           
static Times once()
           
 Times setNotUnlimitedResponses()
           
static Times unlimited()
           
 
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

unlimited

public static Times unlimited()

once

public static Times once()

exactly

public static Times exactly(int count)

getRemainingTimes

public int getRemainingTimes()

isUnlimited

public boolean isUnlimited()

greaterThenZero

public boolean greaterThenZero()

decrement

public Times decrement()

setNotUnlimitedResponses

public Times setNotUnlimitedResponses()


Copyright © 2015. All rights reserved.