ObserverSpec


public final class ObserverSpec


Configures the types, namespaces and other properties that ObserverCallback instances match against.

Summary

Nested types

public final class ObserverSpec.Builder

Builder for ObserverSpec instances.

Public methods

@NonNull Set<String>

Returns the list of schema types which observers using this spec will trigger on.

Public methods

getFilterSchemas

Added in 1.1.0-alpha06
public @NonNull Set<StringgetFilterSchemas()

Returns the list of schema types which observers using this spec will trigger on.

If empty, the observers will trigger on all schema types.