public interface DslResolvingContext
ExtensionModels required to generate
the DSL related views of a given component.| Modifier and Type | Method and Description |
|---|---|
static DslResolvingContext |
getDefault(Set<ExtensionModel> extensions)
|
Optional<ExtensionModel> |
getExtension(String name)
|
Optional<ExtensionModel> |
getExtensionForType(String typeId)
Returns an
Optional ExtensionModel that declared the given type. |
Set<ExtensionModel> |
getExtensions()
Returns a
Set containing all the ExtensionModels available in the
current resolving context. |
TypeCatalog |
getTypeCatalog()
Returns a
TypeCatalog containing all the ObjectTypes available in the
current resolving context. |
static DslResolvingContext getDefault(Set<ExtensionModel> extensions)
extensions - the Set of ExtensionModel available in
this DslResolvingContextDslResolvingContext default implementationOptional<ExtensionModel> getExtension(String name)
name - the name of the extensions you want.Optional. It will be empty if the ExtensionModel is not
found in the context.Optional<ExtensionModel> getExtensionForType(String typeId)
Optional ExtensionModel that declared the given type.typeId - that was declaredOptional. It will be empty if the ExtensionModel is not
found in the context.Set<ExtensionModel> getExtensions()
Set containing all the ExtensionModels available in the
current resolving context.
Any ExtensionModel that can be found using the getExtension(java.lang.String) method
should be contained in the returned Set
Set containing all the ExtensionModels available in the
current resolving contextTypeCatalog getTypeCatalog()
TypeCatalog containing all the ObjectTypes available in the
current resolving context.
Any ObjectType that can be found using the ExtensionModel.getTypes() method
for any of the extensions in the context should available in
the provided TypeCatalog
TypeCatalog containing all the ObjectTypes available in the
current resolving context.Copyright © 2017 MuleSoft, Inc.. All rights reserved.