Annotation Interface PropertyName
Overrides the declared property name a record component binds from (via
ConfigurationBinder) or writes to (via TaskExecutionContext.setOutputs(T)).
By default a component named modelId binds to a property named modelId -
component name and property name are matched literally, with no case or separator translation.
Use this annotation only when the declared property name is not, or should not be, the Java
identifier a component would otherwise need - for example binding a component named
modelId to a property declared model_id. Most declared property names are already
legal, idiomatic Java identifiers and need no annotation at all.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe declared property name to bind from / write to instead of the component's own name.
-