Class ChangePropertyKey

  • All Implemented Interfaces:
    org.openrewrite.RefactorVisitor<Yaml>, org.openrewrite.SourceVisitor<Yaml>, YamlSourceVisitor<Yaml>

    public class ChangePropertyKey
    extends YamlRefactorVisitor
    When nested YAML mappings are interpreted as dot separated property names, e.g. as Spring Boot interprets application.yml files.
    • Constructor Detail

      • ChangePropertyKey

        public ChangePropertyKey()
    • Method Detail

      • setProperty

        public void setProperty​(java.lang.String property)
      • setToProperty

        public void setToProperty​(java.lang.String toProperty)
      • setCoalesce

        public void setCoalesce​(boolean coalesce)
      • validate

        public org.openrewrite.Validated validate()
      • isIdempotent

        public boolean isIdempotent()