Package org.mockserver.matchers
Class Times
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.matchers.Times
-
public class Times extends ObjectWithReflectiveEqualsHashCodeToString
- Author:
- jamesdbloom
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Timesclone()booleandecrement()static Timesexactly(int count)intgetRemainingTimes()booleangreaterThenZero()booleanisUnlimited()static Timesonce()static Timesunlimited()-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
-
-
-
-
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 boolean decrement()
-
-