Package com.carfey.ops.job.param
Annotation Type Configuration
-
@Target(TYPE) @Documented @Retention(RUNTIME) public @interface ConfigurationUsed to annotate aSchedulableJobimplementation with definedParametervalues. Parent classes can be annotated, in which case the child will inherit any defined parameters. If a child also definesParametervalues, they will be combined with the parent values, unless there is a name conflict, in which case the child value will replace the parent version.To completely replace a parent class'
Configuration, setreplaceInherited()to true on the child annotation.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Parameter[]knownParameters
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanreplaceInheritedIndicates if anyConfigurationfound on parent classes should be replaced by this, instead of being combined with it.
-
-
-
Element Detail
-
knownParameters
Parameter[] knownParameters
-
-
-
replaceInherited
boolean replaceInherited
Indicates if anyConfigurationfound on parent classes should be replaced by this, instead of being combined with it. In other words, when set to true, all parent classConfigurationannotations are ignored.- Returns:
- whether to replace inherited configuration
- Since:
- 3.0
- Default:
- false
-
-