Class WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate

java.lang.Object
org.mule.runtime.extension.api.loader.WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate
Direct Known Subclasses:
IdempotentDeclarationEnricherWalkDelegate
Enclosing interface:
WalkingDeclarationEnricher

public static class WalkingDeclarationEnricher.DeclarationEnricherWalkDelegate extends Object
A delegate containing the enrichment logic of a WalkingDeclarationEnricher. Implementations MUST be thread-safe.
Since:
1.5.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onConfiguration(org.mule.runtime.api.meta.model.declaration.fluent.ConfigurationDeclaration declaration)
    Invoked when a ConfigurationDeclaration is found in the traversed extensionDeclaration
    void
    onConnectionProvider(org.mule.runtime.api.meta.model.declaration.fluent.ConnectedDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ConnectionProviderDeclaration declaration)
    Invoked when an ConnectedDeclaration is found in the traversed extensionDeclaration
    void
    onConstruct(org.mule.runtime.api.meta.model.declaration.fluent.WithConstructsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ConstructDeclaration declaration)
    Invoked when a ConstructDeclaration is found in the traversed extensionDeclaration.
    void
    onFunction(org.mule.runtime.api.meta.model.declaration.fluent.WithFunctionsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.FunctionDeclaration model)
    Invoked when an FunctionDeclaration is found in the traversed extensionDeclaration.
    void
    onOperation(org.mule.runtime.api.meta.model.declaration.fluent.WithOperationsDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.OperationDeclaration declaration)
    Invoked when an OperationDeclaration is found in the traversed extensionDeclaration.
    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 an ParameterDeclaration is found in the traversed extensionDeclaration
    void
    onParameterGroup(org.mule.runtime.api.meta.model.declaration.fluent.ParameterizedDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.ParameterGroupDeclaration declaration)
    Invoked when an ParameterGroupDeclaration is found in the traversed extensionDeclaration
    void
    onSource(org.mule.runtime.api.meta.model.declaration.fluent.WithSourcesDeclaration owner, org.mule.runtime.api.meta.model.declaration.fluent.SourceDeclaration declaration)
    Invoked when an SourceDeclaration is found in the traversed extensionDeclaration
    void
    This method MUST be called when traversing is finished.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DeclarationEnricherWalkDelegate

      public DeclarationEnricherWalkDelegate()
  • Method Details

    • onConfiguration

      public void onConfiguration(org.mule.runtime.api.meta.model.declaration.fluent.ConfigurationDeclaration declaration)
      Invoked when a ConfigurationDeclaration is found in the traversed extensionDeclaration
      Parameters:
      declaration - a ConfigurationDeclaration
    • 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 an OperationDeclaration is found in the traversed extensionDeclaration.

      Parameters:
      owner - The declaration that owns the operation
      declaration - the WithOperationsDeclaration
    • 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 an FunctionDeclaration is found in the traversed extensionDeclaration.

      Parameters:
      owner - The declaration that owns the function
      model - the FunctionDeclaration
    • 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 a ConstructDeclaration is found in the traversed extensionDeclaration.

      Parameters:
      owner - The declaration that owns the operation
      declaration - the WithOperationsDeclaration
    • 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 an ConnectedDeclaration is found in the traversed extensionDeclaration
      Parameters:
      owner - The declaration that owns the provider
      declaration - the ConnectionProviderDeclaration
    • 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 an SourceDeclaration is found in the traversed extensionDeclaration
      Parameters:
      owner - The declaration that owns the source
      declaration - the SourceDeclaration
    • 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 an ParameterGroupDeclaration is found in the traversed extensionDeclaration
      Parameters:
      owner - The declaration that owns the parameter
      declaration - the ParameterGroupDeclaration
    • 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 an ParameterDeclaration is found in the traversed extensionDeclaration
      Parameters:
      owner - The declaration that owns the parameter
      parameterGroup - the group to which the declaration belongs
      declaration - the ParameterDeclaration
    • 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.