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

io.annot8.api.settings.Description Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
/* 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