@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Conditional(value=OnGcpEnvironmentCondition.class) public @interface ConditionalOnGcpEnvironment
Conditional
that matches based on GCP environment in which the application currently runs.
Supported environments are enumerated in GcpEnvironment
.Modifier and Type | Required Element and Description |
---|---|
GcpEnvironment[] |
value
Configures which environment to match.
|
public abstract GcpEnvironment[] value
Copyright © 2021. All rights reserved.