com.tngtech.configbuilder.annotation.configuration.PropertyNamePrefix Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of config-builder Show documentation
Show all versions of config-builder Show documentation
The Config Builder creates fully configured instances of config classes, using values from various sources like properties files, command line arguments etc.
package com.tngtech.configbuilder.annotation.configuration;
import com.tngtech.configbuilder.annotation.valueextractor.CommandLineValue;
import com.tngtech.configbuilder.annotation.valueextractor.DefaultValue;
import com.tngtech.configbuilder.annotation.valueextractor.PropertyValue;
import java.lang.annotation.*;
/**
* This annotation is used to specify additional prefixes to be included in the search for property names
* Usage: @PropertyNamePrefix(value = {"test.prefix."})
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface PropertyNamePrefix {
public String[] value() default {""};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy