Annotation Interface ConditionalOnEnabledPredicate


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(OnEnabledPredicate.class) public @interface ConditionalOnEnabledPredicate
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The class components to check for.
  • Element Details

    • value

      Class<? extends RoutePredicateFactory<?>> value
      The class components to check for.
      Returns:
      the class that must be enabled
      Default:
      org.springframework.cloud.gateway.config.conditional.OnEnabledPredicate.DefaultValue.class