public interface DefinitionMetadata extends DefinitionReference
Modifier and Type | Method and Description |
---|---|
ConfigurationSourceType |
getConfigurationSourceType()
Returns the
type of the configuration source which initially produced the
definition. |
default Optional<Deprecation> |
getDeprecation() |
String |
getLocation()
Location of the object that defines the attached definition; depends on the
ConfigurationSource . |
String |
getReferenceId()
This is the String that can be used to refer to this definition by ID, e.g as passed to
Registry.getProvider(String) . |
DefinitionType |
getType() |
getModule, getName, getRelativeLocation
DefinitionType getType()
String getReferenceId()
Registry.getProvider(String)
.String getLocation()
ConfigurationSource
.ConfigurationSourceType getConfigurationSourceType()
type of the configuration source
which initially produced the
definition.default Optional<Deprecation> getDeprecation()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.