Class PropertiesPlugin


  • @Plugin(name="properties",
            category="Core",
            printObject=true)
    public final class PropertiesPlugin
    extends java.lang.Object
    Handles properties defined in the configuration.
    • Field Detail

      • UNESCAPING_SUBSTITUTOR

        private static final StrSubstitutor UNESCAPING_SUBSTITUTOR
    • Constructor Detail

      • PropertiesPlugin

        private PropertiesPlugin()
    • Method Detail

      • unescape

        static java.lang.String unescape​(java.lang.String input)
      • createUnescapingSubstitutor

        private static StrSubstitutor createUnescapingSubstitutor()
        Creates a new StrSubstitutor which is configured with no lookups and does not handle defaults. This allows it to unescape one level of escaped lookups without any further processing or removing replacing ${ctx:foo:-default} with default.