Class ReflectionEquals<T>

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
com.atlassian.bamboo.testutils.ReflectionEquals<T>
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public class ReflectionEquals<T> extends org.hamcrest.TypeSafeMatcher<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ReflectionEquals(T deploymentInProgress)
     
    ReflectionEquals(T deploymentInProgress, String... ignoreFields)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, describeMismatchSafely, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ReflectionEquals

      public ReflectionEquals(T deploymentInProgress, String... ignoreFields)
    • ReflectionEquals

      public ReflectionEquals(T deploymentInProgress)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(T item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<T>
    • describeTo

      public void describeTo(org.hamcrest.Description description)