matches

open fun matches(context: <Error class: unknown class>, metadata: <Error class: unknown class>): Boolean

Evaluates the condition based on the application environment.

Return

true if sync server should be enabled, otherwise false

Parameters

context

the condition context containing environment and bean factory

metadata

annotation metadata for the condition