public static class VerifyRuleBuilder.Property extends Object
Modifier and Type | Method and Description |
---|---|
VerifyRuleBuilder.Property |
accept(ValuePredicate<?> predicate)
Adds acceptable predicate between expected value and actual value to this property.
|
VerifyRuleBuilder.Property |
asKey()
Make this property as a key.
|
PropertyName |
getName()
Returns the name of this property.
|
PropertyType |
getType()
Returns the type of this property.
|
String |
toString() |
public PropertyName getName()
public PropertyType getType()
public VerifyRuleBuilder.Property asKey()
public VerifyRuleBuilder.Property accept(ValuePredicate<?> predicate)
predicate
- acceptable predicateIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.