org.springframework.boot.yaml

Class ArrayDocumentMatcher

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher

    Deprecated. 
    as of 1.4.1 in favor of exact String-based matching

    @Deprecated
    public class ArrayDocumentMatcher
    extends Object
    implements org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher
    Matches a document containing a given key and where the value of that key is an array containing one of the given values, or where one of the values matches one of the given values (interpreted as regexes).
    Author:
    Dave Syer
    • Constructor Detail

      • ArrayDocumentMatcher

        public ArrayDocumentMatcher(String key,
                                    String... patterns)
        Deprecated. 
    • Method Detail

      • matches

        public org.springframework.beans.factory.config.YamlProcessor.MatchStatus matches(Properties properties)
        Deprecated. 
        Specified by:
        matches in interface org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher

Copyright © 2017 Pivotal Software, Inc.. All rights reserved.