public interface BootstrapConfiguration
META-INF/validation.xml
でユーザーが指定したデフォルトの設定を表します。
返されるオブジェクトへの変更は何も効果のないことに注意してください。
代わりにConfiguration
に変更を適用するためにConfiguration
で提供されているメソッドを使用します。
String getDefaultProviderClassName()
ValidationProvider
の実装のクラス名、指定されていない場合はnull
。String getConstraintValidatorFactoryClassName()
ConstraintValidatorFactory
の実装のクラス名、指定されていない場合はnull
。String getMessageInterpolatorClassName()
MessageInterpolator
の実装のクラス名、指定されていない場合はnull
。null
String getTraversableResolverClassName()
TraversableResolver
の実装のクラス名、指定されていない場合はnull
。null
String getParameterNameProviderClassName()
ParameterNameProvider
の実装のクラス名、指定されていない場合はnull
。null
String getClockProviderClassName()
ClockProvider
の実装のクラス名、指定されていない場合はnull
。null
Set<String> getValueExtractorClassNames()
ValueExtractor
のクラス名を返します。Set<String> getConstraintMappingResourcePaths()
boolean isExecutableValidationEnabled()
Set<ExecutableType> getDefaultValidatedExecutableTypes()
ValidateOnExecution
で明示的にオーバーライドされない限り、考慮する必要がある実行可能な型のセットを返します。
設定で指定されていない場合は、ExecutableType.CONSTRUCTORS
とExecutableType.NON_GETTER_METHODS
を含むセットを返します。
Copyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.