Package org.mockserver.model
Class ExpectationId
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.ExpectationId
-
public class ExpectationId extends ObjectWithJsonToString
-
-
Constructor Summary
Constructors Constructor Description ExpectationId()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ExpectationIdexpectationId(String id)StringgetId()inthashCode()ExpectationIdwithId(String id)-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
-
-
-
Method Detail
-
expectationId
public static ExpectationId expectationId(String id)
-
getId
public String getId()
-
withId
public ExpectationId withId(String id)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classObjectWithReflectiveEqualsHashCodeToString
-
hashCode
public int hashCode()
- Overrides:
hashCodein classObjectWithReflectiveEqualsHashCodeToString
-
-