com.bemoko.live.platform.mwc.profiles
Class ActiveProfileAccessor
java.lang.Object
com.bemoko.live.platform.mwc.profiles.ActiveProfileAccessor
public class ActiveProfileAccessor
- extends Object
API onto an active profiles that supports the bean operations to determine
whether a named profile is active
ActiveProfileAccessor
public ActiveProfileAccessor()
afterPropertiesSet
public void afterPropertiesSet()
addActiveProfile
public void addActiveProfile(String activeProfile)
setBootstrapPlatformConfiguration
public void setBootstrapPlatformConfiguration(BootstrapPlatformConfiguration bootstrapPlatformConfiguration)
getBootstrapPlatformConfiguration
public BootstrapPlatformConfiguration getBootstrapPlatformConfiguration()
get
public boolean get(String profileName)
getProfiles
public Set<String> getProfiles()
toString
public String toString()
- Overrides:
toString in class Object
getProfilesAsString
public String getProfilesAsString()
- Returns:
- the profilesAsString