public interface ExampleMatcherobject typeSE に対して ExampleMatcher を作成できます。ExampleMatcher のインスタンスは matchingAll() または matchingAny() のいずれかで、設定は流れるようなスタイルで with... メソッドを調整できます。with... メソッドは、指定された設定で ExampleMatcher インスタンスのコピーを返します。null 処理のデフォルトは ExampleMatcher.NullHandler.IGNORE で、大文字と小文字が区別される ExampleMatcher.StringMatcher.DEFAULT 文字列マッチングです。このクラスは不変です。
| 修飾子と型 | インターフェースと説明 |
|---|---|
static class | ExampleMatcher.GenericPropertyMatcherstring matching と大文字と小文字の区別を指定する汎用プロパティマッチャー。 |
static class | ExampleMatcher.GenericPropertyMatchersExampleMatcher.GenericPropertyMatcher を作成するための定義済みのプロパティマッチャー。 |
static interface | ExampleMatcher.MatcherConfigurer<T> マッチャーを構成するためのコールバック。 |
static class | ExampleMatcher.MatchMode クライアントが述語を連結する方法について見つけることができるように公開する一致モード。 |
static class | ExampleMatcher.NoOpPropertyValueTransformer |
static class | ExampleMatcher.NullHandlerExample から基準を作成するための Null 処理。 |
static class | ExampleMatcher.PropertySpecifierDot-Path の特定のプロパティ処理を定義します。 |
static class | ExampleMatcher.PropertySpecifiers ドットパスの特定のプロパティ処理を定義します。 |
static interface | ExampleMatcher.PropertyValueTransformer クエリで使用する前にプロパティ値を変換できます。 |
static class | ExampleMatcher.StringMatcherStringSE 値の処理のためのモードを一致させます。 |
static ExampleMatcher matching()
ExampleMatcher を作成します。ExampleMatcher の新しいインスタンス。matchingAll()static ExampleMatcher matchingAny()
ExampleMatcher を作成します。ExampleMatcher の新しいインスタンス。static ExampleMatcher matchingAll()
ExampleMatcher を作成します。ExampleMatcher の新しいインスタンス。ExampleMatcher withIgnorePaths(StringSE... ignoredPaths)
propertyPaths を持つこの ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。ignoredPaths - null でも空でもいけません。ExampleMatcher の新しいインスタンス。ExampleMatcher withStringMatcher(ExampleMatcher.StringMatcher defaultStringMatcher)
defaultStringMatcher の指定された文字列一致を持つこの ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。defaultStringMatcher - null であってはなりません。ExampleMatcher の新しいインスタンス。default ExampleMatcher withIgnoreCase()
ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。ExampleMatcher の新しいインスタンス。ExampleMatcher withIgnoreCase(boolean defaultIgnoreCase)
ExampleMatcher のコピーを defaultIgnoreCase とともに返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。defaultIgnoreCase -ExampleMatcher の新しいインスタンス。default ExampleMatcher withMatcher(StringSE propertyPath, ExampleMatcher.MatcherConfigurer<ExampleMatcher.GenericPropertyMatcher> matcherConfigurer)
propertyPath に指定された GenericPropertyMatcher を含むこの ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。propertyPath - null であってはなりません。matcherConfigurer - ExampleMatcher.GenericPropertyMatcher を構成するためのコールバックは null であってはなりません。ExampleMatcher の新しいインスタンス。ExampleMatcher withMatcher(StringSE propertyPath, ExampleMatcher.GenericPropertyMatcher genericPropertyMatcher)
propertyPath に指定された GenericPropertyMatcher を含むこの ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。propertyPath - null であってはなりません。genericPropertyMatcher - ExampleMatcher.GenericPropertyMatcher を構成するためのコールバックは null であってはなりません。ExampleMatcher の新しいインスタンス。ExampleMatcher withTransformer(StringSE propertyPath, ExampleMatcher.PropertyValueTransformer propertyValueTransformer)
propertyPath - null であってはなりません。propertyValueTransformer - null であってはなりません。ExampleMatcher の新しいインスタンス。ExampleMatcher withIgnoreCase(StringSE... propertyPaths)
propertyPaths の大文字と小文字を無視して、この ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。propertyPaths - null でも空でもいけません。ExampleMatcher の新しいインスタンス。default ExampleMatcher withIncludeNullValues()
ExampleMatcher.NullHandler.INCLUDE の NULL 値を処理して、この ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。ExampleMatcher の新しいインスタンス。default ExampleMatcher withIgnoreNullValues()
ExampleMatcher.NullHandler.IGNORE の NULL 値を処理して、この ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。ExampleMatcher の新しいインスタンス。ExampleMatcher withNullHandler(ExampleMatcher.NullHandler nullHandler)
nullHandler を持つこの ExampleMatcher のコピーを返します。このインスタンスは不変であり、このメソッド呼び出しの影響を受けません。nullHandler - null であってはなりません。ExampleMatcher の新しいインスタンス。ExampleMatcher.NullHandler getNullHandler()
ExampleMatcher.StringMatcher getDefaultStringMatcher()
ExampleMatcher.StringMatcher を取得します。boolean isIgnoreCaseEnabled()
StringSE を大文字と小文字を区別しないオプションと一致させる必要がある場合は true。default boolean isIgnoredPath(StringSE path)
path - null であってはなりません。ExampleMatcher.PropertySpecifiers getPropertySpecifiers()
default boolean isAllMatching()
Example のすべての述語が一致することになっているのか、それともそれらのいずれかで十分なのか。default boolean isAnyMatching()
Example のいずれかの述語が一致するだけで十分かどうかを返します。false が返された場合、結果を生成するには、例から派生したすべての述語が一致する必要があります。Example の述語のいずれかが一致するだけで十分か、それともすべてが一致する必要があるか。ExampleMatcher.MatchMode getMatchMode()
ExampleMatcher の一致モードを取得します。Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.