com.silverpeas.admin
Class DomainMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<Domain>
      extended by com.silverpeas.admin.DomainMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<Domain>, org.hamcrest.SelfDescribing

public class DomainMatcher
extends org.hamcrest.BaseMatcher<Domain>

Author:
ehugonnet

Method Summary
 void describeTo(org.hamcrest.Description description)
           
static DomainMatcher matches(Domain domain)
          Creates a new matcher with the specified domain.
 boolean matches(Object item)
           
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

matches

public boolean matches(Object item)

describeTo

public void describeTo(org.hamcrest.Description description)

matches

public static DomainMatcher matches(Domain domain)
Creates a new matcher with the specified domain.

Parameters:
domain - the domain to match.
Returns:
a domain matcher.


Copyright © 2016 Silverpeas. All Rights Reserved.