Package uk.ac.starlink.util
Annotation Type ConfigMethod
-
@Documented @Inherited @Retention(RUNTIME) @Target(METHOD) public @interface ConfigMethodAnnotation that prepares a mutator method for use and documentation by theBeanConfigclass. This annotation is not required for such configuration, but it can be used to improve documentation and make usage easier.This annotation will normally be applied to a bean-setting method with a signature like
void setXxx(type).- Since:
- 25 Sep 2020
- Author:
- Mark Taylor
- See Also:
BeanConfig
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringexampleString representation of an example value for this property, suitable for use in documentation.booleanhideIf true, the setting should not be documented under normal circumstances.java.lang.StringusageUsage string.
-
-
-
Element Detail
-
property
java.lang.String property
Gives an alternative name for the property defined by this method. If the annotated method is namedsetXxxand the property value isyyy, this configuration defined by this method can be addressed as either the propertyxxxoryyy.- Returns:
- property name
-
-