Package org.n52.faroe.annotation
Annotation Type Setting
-
@Inherited @Documented @Target(METHOD) @Retention(RUNTIME) public @interface Setting
Annotation that should be applied to a method that takes a single Setting as a parameter. The parameter of this method should be of the same type as the type of the associatedorg.n52.faroe.SettingDefinition. It is needed to apply theConfigurableannotation to a class with a method annotated with this annotations for theSettingsManagerto recognize it. Example usage:@Setting(MiscellaneousSettingDefinitions.TOKEN_SEPERATOR_KEY) public void setTokenSeperator(String separator) { this.separator = separator; }- Since:
- 1.0.0
- See Also:
Configurable
-
-
Element Detail
-
value
String value
The key of the setting.- Returns:
- the key
-
-