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
 
- 
- 
Optional Element SummaryOptional 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 Detail- 
valueTypeString valueType Name of value type - must be one of String, Integer, Long, Double, or List
 
- 
 - 
- 
nameString name Name 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:
- ""
 
 
- 
 - 
- 
getterString getter Name of method that retrieves the default value for this property. If not given, then the property name is capitalized and prefixed with 'get'- Default:
- ""
 
 
- 
 - 
- 
descriptionString description User-oriented description- Default:
- "undocumented"
 
 
- 
 - 
- 
constraintExpressionString constraintExpression Constraint expression- Default:
- ""
 
 
- 
 
-