public interface CfServiceEnablingEnvironmentPostProcessor
extends org.springframework.boot.env.EnvironmentPostProcessor
cfenv.service.<serviceName>.enabled=false.| Modifier and Type | Method and Description |
|---|---|
default boolean |
isEnabled(io.pivotal.cfenv.core.CfService service,
org.springframework.core.env.Environment environment)
Determine if a service is enabled.
|
default boolean isEnabled(io.pivotal.cfenv.core.CfService service,
org.springframework.core.env.Environment environment)
service - a service to inspect.environment - the Environment.true if the service is enabled; false otherwiseCopyright © 2021 Pivotal Software, Inc.. All rights reserved.