FieldsMatcher

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var count: Int

Field count to match.

----------------

Link copied to clipboard
Link copied to clipboard

Match type. Default is MatchType.Contains.

----------------

Link copied to clipboard

Functions

Link copied to clipboard
inline fun add(init: FieldMatcher.() -> Unit): FieldsMatcher

Add field to match.

----------------

Link copied to clipboard

Add field name to match.

----------------

Link copied to clipboard

add field type to match.

----------------

fun addForType(typeName: String, matchType: StringMatchType = StringMatchType.Equals, ignoreCase: Boolean = false): FieldsMatcher

Add field type to match.

----------------

Link copied to clipboard
fun count(count: Int): FieldsMatcher
fun count(min: Int = 0, max: Int = Int.MAX_VALUE): FieldsMatcher

Field count to match.

----------------

Link copied to clipboard

Field count to match.

----------------

Link copied to clipboard

Field count to match.

----------------

Link copied to clipboard

Need to match fields.

----------------

Link copied to clipboard

Match type.

----------------