/*
 * Jakarta Bean Validation API
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
 */
package javax.validation.valueextraction;

import javax.validation.Payload;

Set of interfaces used in the payload() of a constraint to indicate if a value should be unwrapped before validation.

This is used to overwrite the default configuration defined on the ValueExtractor.

Author:Guillaume Smet
Since:2.0
/** * Set of interfaces used in the {@code payload()} of a constraint to indicate if a value * should be unwrapped before validation. * <p> * This is used to overwrite the default configuration defined on the {@link ValueExtractor}. * * @author Guillaume Smet * @since 2.0 */
public interface Unwrapping {
Unwrap the value before validation.
Since:2.0
/** * Unwrap the value before validation. * * @since 2.0 */
public interface Unwrap extends Payload { }
Skip the unwrapping if it has been enabled on the ValueExtractor by the UnwrapByDefault annotation.
Since:2.0
/** * Skip the unwrapping if it has been enabled on the {@link ValueExtractor} by the * {@link UnwrapByDefault} * annotation. * * @since 2.0 */
public interface Skip extends Payload { } }