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 Times
clone()
boolean
decrement()
static Times
exactly(int count)
int
getRemainingTimes()
boolean
greaterThenZero()
boolean
isUnlimited()
static Times
once()
static Times
unlimited()
-
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()
-
-