Package org.powertac.common.config
Annotation Type ConfigurableValue
@Documented @Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface ConfigurableValue
Annotation for configuring a property of some instance.
- Author:
- John Collins
-
Required Element Summary
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanbootstrapStateTrue if value must be saved in bootstrap recordStringconstraintExpressionConstraint expressionStringdescriptionUser-oriented descriptionbooleandumpIf true, dump this item during configuration dumpStringgetterName of method that retrieves the default value for this property.StringnameName for this property.booleanpublishTrue if value must be published to brokers
-
Element Details
-
-
name
String nameName for this property. If not given, it's extracted from the method name, by stripping off a prefix of 'set' or 'with' and decapitalizing the remaining substring.- Default:
- ""
-
getter
String getterName of method that retrieves the default value for this property. If not given, then the property name is capitalized and prefixed with 'get'- Default:
- ""
-
description
String descriptionUser-oriented description- Default:
- "undocumented"
-
constraintExpression
String constraintExpressionConstraint expression- Default:
- ""
-
publish
boolean publishTrue if value must be published to brokers- Default:
- false
-
bootstrapState
boolean bootstrapStateTrue if value must be saved in bootstrap record- Default:
- false
-
dump
boolean dumpIf true, dump this item during configuration dump- Default:
- true
-