public interface ConfigurationPoint extends ExtensionPoint
Modifier and Type | Method and Description |
---|---|
boolean |
areElementsMappable()
Returns true if the elements contributed to this configuration point can be
retrieved as a Map . |
Schema |
getContributionsSchema()
Returns the Schema for contributions to the configuration point (which may be null if the
point does not define a schema for contributions).
|
java.util.List |
getElements()
Returns the constructed extensions as a list of elements assembled from the various
contributions.
|
java.util.Map |
getElementsAsMap()
Returns the constructed extensions as a Map of elements assembled from the various
contributions.
|
getErrorLog, getExtensionPointId, getLog, getModule, visibleToModule
getLocation
java.util.List getElements()
boolean areElementsMappable()
retrieved as a Map
. The contributions in the map are keyed on
an attribute as specified by the contributions schema. Thus, as a requirement, this
configuration point must have a defined schema, which in turn must support
keying
of all valid instances.java.util.Map getElementsAsMap() throws ApplicationRuntimeException
key attribute
. Just as
getElements()
this method may also return a proxy.
If there is no key attribute defined for this configuration's contribution elements an
ApplicationRuntimeException
is thrown.
ApplicationRuntimeException
Schema getContributionsSchema()