@Documented @Target(value=FIELD) @Retention(value=RUNTIME) public @interface Property
commons.configuration.ConfigurableProcessor| Modifier and Type | Fields and Description |
|---|---|
static String |
DEFAULT_DESCRIPTION
Default description value
|
static String |
DEFAULT_VALUE
This string shows to
commons.configuration.ConfigurableProcessor
that init value of the object should not be overridden. |
| Modifier and Type | Required Element and Description |
|---|---|
String |
key
Property name in configuration
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
defaultValue
Represents default value that will be parsed if key not found.
|
String |
description
Represents default value for property description.
|
String[] |
examples
Represents a array with (hopefully) working example configurations.
|
Class<? extends PropertyTransformer> |
propertyTransformer
PropertyTransformer to use.
|
Class<?>[] |
types
Represents method types for Function Transformer
|
public static final String DEFAULT_VALUE
commons.configuration.ConfigurableProcessor
that init value of the object should not be overridden.public static final String DEFAULT_DESCRIPTION
public abstract String key
public abstract Class<? extends PropertyTransformer> propertyTransformer
Boolean and boolean by BooleanTransformerByte and byte by ByteTransformerCharacter and char by CharTransformerShort and short by ShortTransformerInteger and int by IntegerTransformerFloat and float by FloatTransformerLong and long by LongTransformerDouble and double by DoubleTransformerString by StringTransformerPrintStream by PrintStreamTransformer
Enum and enum by EnumTransformerFile by FileTransformerInetSocketAddress by
InetSocketAddressTransformerPattern by PatternTransformer
public abstract String defaultValue
DEFAULT_VALUE initial value of the object
won't be overriddenpublic abstract String description
DEFAULT_DESCRIPTIONpublic abstract String[] examples
public abstract Class<?>[] types
FunctionTransformer}Copyright © 2014–2015. All rights reserved.