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

host.anzo.commons.config.annotation.ConfigProperty Maven / Gradle / Ivy

package host.anzo.commons.config.annotation;

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

/**
 * @author ANZO
 * @since 02.04.2017
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ConfigProperty {
	String name();
	String value() default "";
	String[] values() default "";
	String splitter() default ",";
	long minValue() default Long.MIN_VALUE;
	long maxValue() default Long.MAX_VALUE;
	boolean isMap() default false;
	boolean isLoadFromFile() default true;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy