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

io.strimzi.api.annotations.DeprecatedProperty Maven / Gradle / Ivy

There is a newer version: 0.45.0
Show newest version
/*
 * Copyright Strimzi authors.
 * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
 */
package io.strimzi.api.annotations;

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

/**
 * Annotation to identify a deprecated property in the Strimzi CRDs / API
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface DeprecatedProperty {
    /** @return The API version in which this property is scheduled to be removed. */
    String removalVersion() default "";

    /**
     * @return If this property has moved to a different location in the Custom Resource this is
     * the path it has moved to.
     */
    String movedToPath() default "";

    /**
     * @return If this property has not moved to a different location in the Custom Resource this is
     * a description of how the functionality can now be configured.
     */
    String description() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy