Annotation Interface ConditionalOnGcpEnvironment
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(OnGcpEnvironmentCondition.class)
public @interface ConditionalOnGcpEnvironment
Conditional
that matches based on GCP environment in which the application currently
runs.
Supported environments are enumerated in GcpEnvironment
.
- Since:
- 1.1
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionConfigures which environment to match.
-
Element Details
-
value
GcpEnvironment[] valueConfigures which environment to match.- Returns:
- an array of GCP Environments.
-