public class LicenseRoleDataMatcher extends org.hamcrest.TypeSafeMatcher<LicenseRoleStore.LicenseRoleData>
Constructor and Description |
---|
LicenseRoleDataMatcher() |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(LicenseRoleStore.LicenseRoleData item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
LicenseRoleDataMatcher |
groups(Iterable<String> groups) |
LicenseRoleDataMatcher |
groups(String... groups) |
LicenseRoleDataMatcher |
id(LicenseRoleId id) |
LicenseRoleDataMatcher |
id(String id) |
LicenseRoleDataMatcher |
match(LicenseRoleStore.LicenseRoleData data) |
protected boolean |
matchesSafely(LicenseRoleStore.LicenseRoleData licenseRoleData) |
LicenseRoleDataMatcher |
merge(LicenseRole role) |
LicenseRoleDataMatcher |
primaryGroup(com.atlassian.fugue.Option<String> defaultGroup) |
LicenseRoleDataMatcher |
primaryGroup(String defaultGroup) |
public LicenseRoleDataMatcher match(LicenseRoleStore.LicenseRoleData data)
public LicenseRoleDataMatcher merge(LicenseRole role)
public LicenseRoleDataMatcher id(String id)
public LicenseRoleDataMatcher id(LicenseRoleId id)
public LicenseRoleDataMatcher groups(Iterable<String> groups)
public LicenseRoleDataMatcher groups(String... groups)
public LicenseRoleDataMatcher primaryGroup(String defaultGroup)
public LicenseRoleDataMatcher primaryGroup(com.atlassian.fugue.Option<String> defaultGroup)
protected boolean matchesSafely(LicenseRoleStore.LicenseRoleData licenseRoleData)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<LicenseRoleStore.LicenseRoleData>
public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(LicenseRoleStore.LicenseRoleData item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<LicenseRoleStore.LicenseRoleData>
Copyright © 2002-2015 Atlassian. All Rights Reserved.