org.springframework.boot.yaml

Class DefaultProfileDocumentMatcher

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


    public class DefaultProfileDocumentMatcher
    extends Object
    implements org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher
    A YamlProcessor.DocumentMatcher that matches the default profile implicitly but not explicitly (i.e. matches if "spring.profiles" is not found and not otherwise).
    Author:
    Dave Syer
    • Constructor Detail

      • DefaultProfileDocumentMatcher

        public DefaultProfileDocumentMatcher()
    • Method Detail

      • matches

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

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