java.lang.Object
org.mule.runtime.extension.api.declaration.type.annotation.ParameterDslAnnotation
All Implemented Interfaces:
org.mule.metadata.api.annotation.TypeAnnotation

public class ParameterDslAnnotation extends Object implements org.mule.metadata.api.annotation.TypeAnnotation
Contains directives regarding syntax and semantics of the generated XML DSL
Since:
1.0
  • Field Details

  • Constructor Details

    • ParameterDslAnnotation

      public ParameterDslAnnotation(boolean allowInlineDefinition, boolean allowReferences)
      Creates a new instance
      Parameters:
      allowInlineDefinition - whether the associated element should support inline definition as child element
      allowReferences - whether the associated element should support registry references
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.mule.metadata.api.annotation.TypeAnnotation
      Returns:
      parameterDsl
    • allowsInlineDefinition

      public boolean allowsInlineDefinition()
      Returns:
      whether the associated element should support inline definition as child element
    • allowsReferences

      public boolean allowsReferences()
      Returns:
      whether the associated element should support registry references
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object