public class ResourceNameMatcher
extends org.hamcrest.TypeSafeMatcher<org.apache.sling.api.resource.Resource>
| Constructor and Description |
|---|
ResourceNameMatcher(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(org.apache.sling.api.resource.Resource resource,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(org.apache.sling.api.resource.Resource resource) |
public ResourceNameMatcher(String name)
public void describeTo(org.hamcrest.Description description)
protected boolean matchesSafely(org.apache.sling.api.resource.Resource resource)
matchesSafely in class org.hamcrest.TypeSafeMatcher<org.apache.sling.api.resource.Resource>protected void describeMismatchSafely(org.apache.sling.api.resource.Resource resource,
org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<org.apache.sling.api.resource.Resource>Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.