javax.validation.Payload Maven / Gradle / Ivy
/*
* Bean Validation API
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or .
*/
package javax.validation;
import javax.validation.valueextraction.Unwrapping;
/**
* Payload type that can be attached to a given
* constraint declaration.
*
* Payloads are typically used to carry on metadata information
* consumed by a validation client.
*
* With the exception of the {@link Unwrapping} payload types, the use of payloads is not
* considered portable.
*
* @author Emmanuel Bernard
* @author Gerhard Petracek
*/
public interface Payload {
}