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 boolean
bootstrapState
True if value must be saved in bootstrap recordString
constraintExpression
Constraint expressionString
description
User-oriented descriptionboolean
dump
If true, dump this item during configuration dumpString
getter
Name of method that retrieves the default value for this property.String
name
Name for this property.boolean
publish
True 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:
- ""
-
-