public class Environment extends Object
Environment, but also applicable outside
the domain of a Spring application.| Constructor and Description |
|---|
Environment(String name,
String... profiles) |
Environment(String name,
String[] profiles,
String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PropertySource propertySource) |
void |
addFirst(PropertySource propertySource) |
String |
getLabel() |
String |
getName() |
String[] |
getProfiles() |
List<PropertySource> |
getPropertySources() |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setProfiles(String[] profiles) |
String |
toString() |
public void add(PropertySource propertySource)
public void addFirst(PropertySource propertySource)
public List<PropertySource> getPropertySources()
public String getName()
public void setName(String name)
public String getLabel()
public void setLabel(String label)
public String[] getProfiles()
public void setProfiles(String[] profiles)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.