public static class ExampleMatcher.PropertySpecifier extends Object
public ExampleMatcher.PropertySpecifier withStringMatcher(ExampleMatcher.StringMatcher stringMatcher)
ExampleMatcher.PropertySpecifier
containing all values from the current instance and sets
ExampleMatcher.StringMatcher
in the returned instance.stringMatcher
- must not be null.public ExampleMatcher.PropertySpecifier withIgnoreCase(boolean ignoreCase)
ExampleMatcher.PropertySpecifier
containing all values from the current instance and sets
ignoreCase
.ignoreCase
- must not be null.public ExampleMatcher.PropertySpecifier withValueTransformer(ExampleMatcher.PropertyValueTransformer valueTransformer)
ExampleMatcher.PropertySpecifier
containing all values from the current instance and sets
ExampleMatcher.PropertyValueTransformer
in the returned instance.valueTransformer
- must not be null.public String getPath()
@Nullable public ExampleMatcher.StringMatcher getStringMatcher()
ExampleMatcher.StringMatcher
.public ExampleMatcher.PropertyValueTransformer getPropertyValueTransformer()
@Deprecated public Object transformValue(Object source)
transformValue(Optional)
instead.ExampleMatcher.PropertyValueTransformer
.source
- public Optional<Object> transformValue(Optional<Object> source)
ExampleMatcher.PropertyValueTransformer
.source
- protected boolean canEqual(Object other)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.