Class WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate
java.lang.Object
org.mule.runtime.extension.api.loader.WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate
- Direct Known Subclasses:
IdempotentDeclarationEnricherWalkDelegate
- Enclosing interface:
- WalkingDeclarationEnricher
A delegate containing the enrichment logic of a
WalkingDeclarationEnricher. Implementations MUST be
thread-safe.- Since:
- 1.5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonConfiguration(org.mule.runtime.api.meta.model.declaration.fluent.ConfigurationDeclaration declaration) Invoked when aConfigurationDeclarationis found in the traversedextensionDeclarationvoidonConnectionProvider(org.mule.runtime.api.meta.model.declaration.fluent.ConnectedDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ConnectionProviderDeclaration declaration) Invoked when anConnectedDeclarationis found in the traversedextensionDeclarationvoidonConstruct(org.mule.runtime.api.meta.model.declaration.fluent.WithConstructsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ConstructDeclaration declaration) Invoked when aConstructDeclarationis found in the traversedextensionDeclaration.voidonFunction(org.mule.runtime.api.meta.model.declaration.fluent.WithFunctionsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.FunctionDeclaration model) Invoked when anFunctionDeclarationis found in the traversedextensionDeclaration.voidonOperation(org.mule.runtime.api.meta.model.declaration.fluent.WithOperationsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.OperationDeclaration declaration) Invoked when anOperationDeclarationis found in the traversedextensionDeclaration.voidonParameter(org.mule.runtime.api.meta.model.declaration.fluent.ParameterizedDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ParameterGroupDeclaration parameterGroup, org.mule.runtime.api.meta.model.declaration.fluent.ParameterDeclaration declaration) Invoked when anParameterDeclarationis found in the traversedextensionDeclarationvoidonParameterGroup(org.mule.runtime.api.meta.model.declaration.fluent.ParameterizedDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ParameterGroupDeclaration declaration) Invoked when anParameterGroupDeclarationis found in the traversedextensionDeclarationvoidonSource(org.mule.runtime.api.meta.model.declaration.fluent.WithSourcesDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.SourceDeclaration declaration) Invoked when anSourceDeclarationis found in the traversedextensionDeclarationvoidThis method MUST be called when traversing is finished.
-
Constructor Details
-
DeclarationEnricherWalkDelegate
public DeclarationEnricherWalkDelegate()
-
-
Method Details
-
onConfiguration
public void onConfiguration(org.mule.runtime.api.meta.model.declaration.fluent.ConfigurationDeclaration declaration) Invoked when aConfigurationDeclarationis found in the traversedextensionDeclaration- Parameters:
declaration- aConfigurationDeclaration
-
onOperation
public void onOperation(org.mule.runtime.api.meta.model.declaration.fluent.WithOperationsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.OperationDeclaration declaration) Invoked when anOperationDeclarationis found in the traversedextensionDeclaration.- Parameters:
owner- The declaration that owns the operationdeclaration- theWithOperationsDeclaration
-
onFunction
public void onFunction(org.mule.runtime.api.meta.model.declaration.fluent.WithFunctionsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.FunctionDeclaration model) Invoked when anFunctionDeclarationis found in the traversedextensionDeclaration.- Parameters:
owner- The declaration that owns the functionmodel- theFunctionDeclaration
-
onConstruct
public void onConstruct(org.mule.runtime.api.meta.model.declaration.fluent.WithConstructsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ConstructDeclaration declaration) Invoked when aConstructDeclarationis found in the traversedextensionDeclaration.- Parameters:
owner- The declaration that owns the operationdeclaration- theWithOperationsDeclaration
-
onConnectionProvider
public void onConnectionProvider(org.mule.runtime.api.meta.model.declaration.fluent.ConnectedDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ConnectionProviderDeclaration declaration) Invoked when anConnectedDeclarationis found in the traversedextensionDeclaration- Parameters:
owner- The declaration that owns the providerdeclaration- theConnectionProviderDeclaration
-
onSource
public void onSource(org.mule.runtime.api.meta.model.declaration.fluent.WithSourcesDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.SourceDeclaration declaration) Invoked when anSourceDeclarationis found in the traversedextensionDeclaration- Parameters:
owner- The declaration that owns the sourcedeclaration- theSourceDeclaration
-
onParameterGroup
public void onParameterGroup(org.mule.runtime.api.meta.model.declaration.fluent.ParameterizedDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ParameterGroupDeclaration declaration) Invoked when anParameterGroupDeclarationis found in the traversedextensionDeclaration- Parameters:
owner- The declaration that owns the parameterdeclaration- theParameterGroupDeclaration
-
onParameter
public void onParameter(org.mule.runtime.api.meta.model.declaration.fluent.ParameterizedDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ParameterGroupDeclaration parameterGroup, org.mule.runtime.api.meta.model.declaration.fluent.ParameterDeclaration declaration) Invoked when anParameterDeclarationis found in the traversedextensionDeclaration- Parameters:
owner- The declaration that owns the parameterparameterGroup- the group to which the declaration belongsdeclaration- theParameterDeclaration
-
onWalkFinished
public void onWalkFinished()This method MUST be called when traversing is finished. The responsibility of calling this method lies upon the component orchestrating the enrichment.
-