| 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... profiles)Create a new  Profilesinstance that checks for matches against
 the given profile strings. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | AbstractEnvironment. acceptsProfiles(Profiles profiles) | 
| boolean | Environment. acceptsProfiles(Profiles profiles)Return whether the active profiles
 match the given  Profilespredicate. |