All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jakarta.enterprise.inject.build.compatible.spi.Validation Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2021 Red Hat and others
 *
 * This program and the accompanying materials are made available under the
 * Apache Software License 2.0 which is available at:
 * https://www.apache.org/licenses/LICENSE-2.0.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

package jakarta.enterprise.inject.build.compatible.spi;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 5th phase of {@linkplain BuildCompatibleExtension build compatible extension} execution.
 * Allows custom validation.
 * 

* Methods annotated {@code @Validation} may declare parameters of these types: *

    *
  • {@link Messages}
  • *
  • {@link Types}
  • *
* * @since 4.0 */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface Validation { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy