Package | Description |
---|---|
org.springframework.core.env |
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
|
Modifier and Type | Method and Description |
---|---|
static Profiles |
Profiles.of(String... profileExpressions)
Create a new
Profiles instance that checks for matches against
the given profile expressions. |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractEnvironment.acceptsProfiles(Profiles profiles) |
boolean |
Environment.acceptsProfiles(Profiles profiles)
Determine whether the given
Profiles predicate matches the
active profiles — or in the case
of no explicit active profiles, whether the given Profiles predicate
matches the default profiles. |