@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface Parameter
Annotation for component parameters. A parameter is a simple value, usually a primitive, string (discouraged), or enum. Parameters have a shortcut configuration syntax (LenskitConfigContext.set(Class)
).
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?> |
value
The parameter’s type (e.g.
|