You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/external-config.adoc
+3-1
Original file line number
Diff line number
Diff line change
@@ -573,7 +573,9 @@ The following activation properties are available:
573
573
| Property | Note
574
574
575
575
| `on-profile`
576
-
| A profile expression that must match for the document to be active.
576
+
| A profile expression that must match for the document to be active,
577
+
or a list of profile expressions of which at least one must match for the document to be active.
578
+
Please note comma-separated list such as `foo,bar` is equal to `foo\|bar` instead of `foo&bar`.
577
579
578
580
| `on-cloud-platform`
579
581
| The javadoc:org.springframework.boot.cloud.CloudPlatform[] that must be detected for the document to be active.
Copy file name to clipboardexpand all lines: spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataPropertiesTests.java
+12-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2012-2024 the original author or authors.
2
+
* Copyright 2012-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments