org.mockserver.model
Class ObjectWithReflectiveEqualsHashCodeToString

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
Direct Known Subclasses:
BooleanMatcher, CaseInsensitiveRegexMultiMap, Delay, DelayDTO, HttpCallbackDTO, HttpErrorDTO, HttpForwardDTO, HttpResponseDTO, KeyAndValueDTO, KeyToMultiValueDTO, MockServerMatcher, NotMatcher, ObjectWithJsonToString, StringToXmlDocumentParser, Times, TimesDTO, TimeToLive, TimeToLiveDTO, VerificationDTO, VerificationSequence, VerificationSequenceDTO, VerificationTimes, VerificationTimesDTO

public abstract class ObjectWithReflectiveEqualsHashCodeToString
extends Object

Author:
jamesdbloom

Field Summary
 org.slf4j.Logger logger
           
 
Constructor Summary
ObjectWithReflectiveEqualsHashCodeToString()
           
 
Method Summary
protected  void addFieldsExcludedFromEqualsAndHashCode(String... toExclude)
           
 boolean equals(Object other)
           
protected  String[] fieldsExcludedFromEqualsAndHashCode()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

public org.slf4j.Logger logger
Constructor Detail

ObjectWithReflectiveEqualsHashCodeToString

public ObjectWithReflectiveEqualsHashCodeToString()
Method Detail

fieldsExcludedFromEqualsAndHashCode

protected String[] fieldsExcludedFromEqualsAndHashCode()

addFieldsExcludedFromEqualsAndHashCode

protected void addFieldsExcludedFromEqualsAndHashCode(String... toExclude)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2016. All rights reserved.