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 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 Detail
-
valueType
String valueType
Name of value type - must be one of String, Integer, Long, Double, or List
-
-
-
name
String 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:
- ""
-
-
-
getter
String 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:
- ""
-
-
-
description
String description
User-oriented description- Default:
- "undocumented"
-
-
-
constraintExpression
String constraintExpression
Constraint expression- Default:
- ""
-
-