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

org.broadinstitute.barclay.argparser.DeprecatedFeature Maven / Gradle / Ivy

The newest version!
package org.broadinstitute.barclay.argparser;

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

/**
 * Used to mark a feature ({@link Argument} or {@link CommandLineProgramProperties}) as deprecated. Mutually
 * exclusive with {@link BetaFeature} and {@link ExperimentalFeature}.
 */
@Target({ElementType.TYPE,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface DeprecatedFeature {

    /**
     * @return the deprecation detail string associated with this command-line argument.
     */
    String detail() default "This feature is deprecated and will be removed in a future release.";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy