@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface PropertyConfiguration
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
QUALIFIED_DOTTED
A key formatting string describing the form
[package name].[class name].[method name] . |
static java.lang.String |
QUALIFIED_SCOPED
A key formatting string describing the form
[package name].[class name]::[method name] . |
static java.lang.String |
QUALIFIED_SLASHED
A key formatting string describing the form
[package name]/[class name]/[method name] . |
static java.lang.String |
UNQUALIFIED_DOTTED
A key formatting string describing the form
[class name].[method name] . |
static java.lang.String |
UNQUALIFIED_SCOPED
A key formatting string describing the form
[class name]::[method name] . |
static java.lang.String |
UNQUALIFIED_SLASHED
A key formatting string describing the form
[class name]/[method name] . |
static java.lang.String |
UNSPECIFIED_KEY
This is an illegal key string due to the space, and so no accidental
intersection with user defined keys or split strings should be possible.
|
static java.lang.String |
UNSPECIFIED_KEY_SPLIT_STRING
This is an illegal key string due to the space, and so no accidental
intersection with user defined keys or split strings should be possible.
|
static java.lang.String |
UNSPECIFIED_RESOURCE
Inherit the resource settings, or apply the default behavior of the
strategy() by default. |
Modifier and Type | Optional Element and Description |
---|---|
PropertyConfiguration.Defaults |
defaults |
PropertyConfiguration.Evaluation |
evaluation |
java.lang.String |
key |
PropertyConfiguration.KeyCase |
keyCase |
java.lang.String |
keySplitString |
java.lang.String |
resource |
java.lang.Class<? extends PropertyResourceStrategy> |
strategy
The class of the
PropertyResource which implements or specifies the
strategy by which to resolve the localization resources. |
public static final java.lang.String UNSPECIFIED_RESOURCE
strategy()
by default.public static final java.lang.String UNSPECIFIED_KEY
public static final java.lang.String UNSPECIFIED_KEY_SPLIT_STRING
public static final java.lang.String UNQUALIFIED_DOTTED
[class name].[method name]
.public static final java.lang.String QUALIFIED_DOTTED
[package name].[class name].[method name]
.public static final java.lang.String UNQUALIFIED_SCOPED
[class name]::[method name]
.public static final java.lang.String QUALIFIED_SCOPED
[package name].[class name]::[method name]
.public static final java.lang.String UNQUALIFIED_SLASHED
[class name]/[method name]
.public static final java.lang.String QUALIFIED_SLASHED
[package name]/[class name]/[method name]
.public abstract java.lang.String key
public abstract java.lang.String keySplitString
public abstract PropertyConfiguration.KeyCase keyCase
public abstract PropertyConfiguration.Evaluation evaluation
public abstract PropertyConfiguration.Defaults defaults
public abstract java.lang.String resource
public abstract java.lang.Class<? extends PropertyResourceStrategy> strategy
PropertyResource
which implements or specifies the
strategy by which to resolve the localization resources.