|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface DeclareConfiguration
Indicates that the annotated Class
declares
a
Configuration
, i.e. there are constants
that represent setting names as well as default values
and fallback settings.
NOTE that every String
constant of such a
Class
that is not excluded through the
public static String[]
Field
specified by excludedNames()
will be treated as a potential ISetting
name, default value
or fallback declaration.
The retrieval of an actual ConfigurationDeclaration
out
of a Class
annotated with DeclareConfiguration
is done by ClassConfigurationDeclaration
.
The actual ISetting
s could be retrieved using a
ConfigurationBackend
.
ClassConfigurationDeclaration
,
Configuration
Required Element Summary | |
---|---|
java.lang.String |
name
The name of the Configuration . |
Optional Element Summary | |
---|---|
java.lang.String |
defaultSuffix
The suffix for String constants that specify default
ISetting s. |
java.lang.String |
excludedNames
The name of the public static String[] Field
that defines which fields do net declare ISetting s. |
java.lang.String |
fallbackSuffix
The suffix for String constants that specify
fallback ISetting s. |
Configuration.Type |
type
The type of the Configuration . |
Element Detail |
---|
public abstract java.lang.String name
Configuration
.
public abstract Configuration.Type type
Configuration
.
public abstract java.lang.String excludedNames
public static String[]
Field
that defines which fields do net declare ISetting
s.
public abstract java.lang.String defaultSuffix
String
constants that specify default
ISetting
s.
public abstract java.lang.String fallbackSuffix
String
constants that specify
fallback ISetting
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |