インタフェース StrategyFactory
- 既知の実装クラスのリスト:
ValidationStrategyFactory
public interface StrategyFactory
The abstract factory class that abstracts the process of generating the
strategy class for the validation process.
- 導入されたバージョン:
- 1.0.2
-
メソッドの概要
修飾子とタイプ メソッド 説明 org.thinkit.framework.envali.strategy.ValidationStrategy<? extends Annotation>
createValidationStrategy(@NonNull ValidationPattern validationPattern)
Returns the validation strategy corresponding to the pattern based on theValidationPattern
passed as an argument.Field
getField()
Returns the field.ValidatableEntity
getValidatableEntity()
Returns the validatable entity.
-
メソッドの詳細
-
getValidatableEntity
ValidatableEntity getValidatableEntity()Returns the validatable entity.- 戻り値:
- The validatable entity to be validated
-
getField
Field getField()Returns the field.- 戻り値:
- The field to be validated
-
createValidationStrategy
org.thinkit.framework.envali.strategy.ValidationStrategy<? extends Annotation> createValidationStrategy(@NonNull @NonNull ValidationPattern validationPattern)Returns the validation strategy corresponding to the pattern based on theValidationPattern
passed as an argument.- パラメータ:
validationPattern
- The validation pattern based onValidationPattern
- 戻り値:
- The validation strategy corresponding to the pattern based on the
ValidationPattern
passed as an argument
-