public class NullDslResolvingContext extends Object implements DslResolvingContext
DslResolvingContext| Constructor and Description |
|---|
NullDslResolvingContext() |
| Modifier and Type | Method and Description |
|---|---|
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultpublic Optional<ExtensionModel> getExtension(String name)
DslResolvingContextgetExtension in interface DslResolvingContextname - the name of the extensions you want.Optional. It will be empty if the ExtensionModel is not found in the context.public Optional<ExtensionModel> getExtensionForType(String typeId)
DslResolvingContextOptional ExtensionModel that declared the given type.getExtensionForType in interface DslResolvingContexttypeId - that was declaredOptional. It will be empty if the ExtensionModel is not found in the context.public Set<ExtensionModel> getExtensions()
DslResolvingContextSet containing all the ExtensionModels available in the current resolving context.
Any ExtensionModel that can be found using the DslResolvingContext.getExtension(java.lang.String) method should be contained in the returned
Set
getExtensions in interface DslResolvingContextSet containing all the ExtensionModels available in the current resolving contextpublic TypeCatalog getTypeCatalog()
DslResolvingContextTypeCatalog 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
getTypeCatalog in interface DslResolvingContextTypeCatalog containing all the ObjectTypes available in the current resolving context.Copyright © 2025 MuleSoft, Inc.. All rights reserved.