|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the configuration key.
public interface ConfigurationKeyFactory<T extends ConfigurationKey<?>>
A factory to create special configuration keys.
Method Summary | |
---|---|
ConfigurationKey<T> |
createDefaultKey() Creates a default key that references any configuration. |
ConfigurationKey<?> |
createKey(ApplicationId applicationId) Creates a key dependent on the given application. |
ConfigurationKey<?> |
createKey(ConfigurationKey<?> key, ApplicationId appId) Create a key based on properties provided by the given key, but for the given application. |
ConfigurationKey<?> |
createKeyFromString(String key) Creates a key from parsing its string representation. |
ConfigurationKey<?> |
createStaticKey(ConfigurationKey<?> key) Create a key based on the given key, but the new created key shall have only the static parts of the given key. |
ConfigurationKey<?> |
createUniqueKey(String id) Creates a unique key with the given identifier. |
Method Detail |
---|
ConfigurationKey<T> createDefaultKey()
ConfigurationKey<?> createKey(ApplicationId applicationId)
applicationId
- the application to depend upon.
ConfigurationKey<?> createUniqueKey(String id)
id
- the unique identifier to create the key.
ConfigurationKey<?> createKey(ConfigurationKey<?> key, ApplicationId appId)
key
- the key to clone.
appId
- the application info to set into the clone.
ConfigurationKey<?> createKeyFromString(String key) throws IllegalArgumentException
key
- the string representation to parse.
IllegalArgumentException
- if the key cannot be parsed.
ConfigurationKey<?> createStaticKey(ConfigurationKey<?> key)
key
- the key to clone.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |