isEnforced

open fun isEnforced(environment: Environment): Boolean

Determines if the platform is enforced by looking at the "spring.main.cloud-platform" configuration property.

Return

if the platform is enforced

Since

2.3.0

Parameters

environment

the environment


open fun isEnforced(binder: Binder): Boolean

Determines if the platform is enforced by looking at the "spring.main.cloud-platform" configuration property.

Return

if the platform is enforced

Since

2.4.0

Parameters

binder

the binder