io.annot8.api.settings.Description Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annot8-api Show documentation
Show all versions of annot8-api Show documentation
Core API interfaces for the Annot8 project
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.api.settings;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Describes a parameter within a settings class.
*
* This should be set on the get method for a parameter, and it may generally be assumed that
* there is a corresponding set method.
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Description {
/**
* A description of this parameter
*
* @return description
*/
String value();
/**
* Default value of this parameter
*
* @return default value of this parameter
*/
String defaultValue() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy