org.springframework.boot.config
Class DefaultProfileDocumentMatcher
java.lang.Object
org.springframework.boot.config.DefaultProfileDocumentMatcher
- All Implemented Interfaces:
- YamlProcessor.DocumentMatcher
public class DefaultProfileDocumentMatcher
- extends Object
- implements 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProfileDocumentMatcher
public DefaultProfileDocumentMatcher()
matches
public YamlProcessor.MatchStatus matches(Properties properties)
- Description copied from interface:
YamlProcessor.DocumentMatcher
- Test if the given properties match.
- Specified by:
matches in interface YamlProcessor.DocumentMatcher
- Parameters:
properties - the properties to test
- Returns:
- the status of the match.
Copyright © 2013. All Rights Reserved.