|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2022 the original author or authors. |
| 2 | + * Copyright 2002-2023 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.
|
|
19 | 19 | import java.util.Arrays;
|
20 | 20 | import java.util.List;
|
21 | 21 |
|
22 |
| -import org.springframework.core.env.PropertySource; |
23 | 22 | import org.springframework.lang.Nullable;
|
24 | 23 |
|
25 | 24 | /**
|
26 |
| - * Describe a {@link PropertySource}. |
| 25 | + * Descriptor for a {@link org.springframework.core.env.PropertySource PropertySource}. |
27 | 26 | *
|
28 | 27 | * @param locations the locations to consider
|
29 |
| - * @param ignoreResourceNotFound whether to fail if a location does not exist |
| 28 | + * @param ignoreResourceNotFound whether a failure to find a property resource |
| 29 | + * should be ignored |
30 | 30 | * @param name the name of the property source, or {@code null} to infer one
|
31 |
| - * @param propertySourceFactory the {@link PropertySourceFactory} to use, or |
32 |
| - * {@code null} to use the default |
| 31 | + * @param propertySourceFactory the type of {@link PropertySourceFactory} to use, |
| 32 | + * or {@code null} to use the default |
33 | 33 | * @param encoding the encoding, or {@code null} to use the default encoding
|
34 | 34 | * @author Stephane Nicoll
|
35 | 35 | * @since 6.0
|
| 36 | + * @see org.springframework.core.env.PropertySource |
| 37 | + * @see org.springframework.context.annotation.PropertySource |
36 | 38 | */
|
37 | 39 | public record PropertySourceDescriptor(List<String> locations, boolean ignoreResourceNotFound,
|
38 | 40 | @Nullable String name, @Nullable Class<? extends PropertySourceFactory> propertySourceFactory,
|
|
0 commit comments