Class KotlinDslDelegateParam

    • Field Detail

      • myDslParamName

        protected final String myDslParamName
      • myXmlParamName

        protected final String myXmlParamName
      • myYamlParamName

        protected final String myYamlParamName
      • myDescription

        protected final String myDescription
      • myMandatory

        protected final boolean myMandatory
    • Constructor Detail

      • KotlinDslDelegateParam

        public KotlinDslDelegateParam​(@NotNull
                                      String dslParamName,
                                      @NotNull
                                      String xmlParamName,
                                      @Nullable
                                      String description,
                                      @Nullable
                                      DeprecatedInfo deprecatedInfo,
                                      boolean mandatory)
      • KotlinDslDelegateParam

        public KotlinDslDelegateParam​(@NotNull
                                      String dslParamName,
                                      @NotNull
                                      String xmlParamName,
                                      @Nullable
                                      String description,
                                      @Nullable
                                      DeprecatedInfo deprecatedInfo,
                                      boolean mandatory,
                                      @NotNull
                                      Map<String,​String> additionalAttributes)
    • Method Detail

      • getYamlParamName

        public String getYamlParamName()
      • getDslParamName

        @NotNull
        public String getDslParamName()
      • isStrictlyDeprecated

        public boolean isStrictlyDeprecated()
        Description copied from interface: KotlinDslParam
        Determines whether the KotlinDslParam was deprecated complitely or not. if true, it will not be commited in user DSL in typed form (param = ...), otherwise it will be commited but shown as deprecated. The property will be generated in DSL API anyway.
        Specified by:
        isStrictlyDeprecated in interface KotlinDslParam
        Returns:
        see above
      • isMandatory

        public boolean isMandatory()
      • hashCode

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

        protected boolean hasSameNames​(@NotNull
                                       Object other)
      • getDescription

        public String getDescription()
      • getAdditionalAttributes

        public Map<String,​String> getAdditionalAttributes()