public static class ExampleMatcher.GenericPropertyMatcher extends Object
string matching
and case sensitivity.Constructor and Description |
---|
GenericPropertyMatcher()
Creates an unconfigured
ExampleMatcher.GenericPropertyMatcher . |
public GenericPropertyMatcher()
ExampleMatcher.GenericPropertyMatcher
.public static ExampleMatcher.GenericPropertyMatcher of(ExampleMatcher.StringMatcher stringMatcher, boolean ignoreCase)
ExampleMatcher.GenericPropertyMatcher
with a ExampleMatcher.StringMatcher
and ignoreCase
.stringMatcher
- must not be null.ignoreCase
- public static ExampleMatcher.GenericPropertyMatcher of(ExampleMatcher.StringMatcher stringMatcher)
ExampleMatcher.GenericPropertyMatcher
with a ExampleMatcher.StringMatcher
and ignoreCase
.stringMatcher
- must not be null.public ExampleMatcher.GenericPropertyMatcher ignoreCase()
public ExampleMatcher.GenericPropertyMatcher ignoreCase(boolean ignoreCase)
ignoreCase
.ignoreCase
- public ExampleMatcher.GenericPropertyMatcher caseSensitive()
public ExampleMatcher.GenericPropertyMatcher contains()
ExampleMatcher.StringMatcher.CONTAINING
.public ExampleMatcher.GenericPropertyMatcher endsWith()
ExampleMatcher.StringMatcher.ENDING
.public ExampleMatcher.GenericPropertyMatcher startsWith()
ExampleMatcher.StringMatcher.STARTING
.public ExampleMatcher.GenericPropertyMatcher exact()
ExampleMatcher.StringMatcher.EXACT
.public ExampleMatcher.GenericPropertyMatcher storeDefaultMatching()
ExampleMatcher.StringMatcher.DEFAULT
.public ExampleMatcher.GenericPropertyMatcher regex()
ExampleMatcher.StringMatcher.REGEX
.public ExampleMatcher.GenericPropertyMatcher stringMatcher(ExampleMatcher.StringMatcher stringMatcher)
stringMatcher
.stringMatcher
- must not be null.public ExampleMatcher.GenericPropertyMatcher transform(ExampleMatcher.PropertyValueTransformer propertyValueTransformer)
ExampleMatcher.PropertyValueTransformer
to propertyValueTransformer
.propertyValueTransformer
- must not be null.Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.