allOf

public Topic allOf(Class<? extends Message> targetType)

Creates a Topic for all events/entities of the specified type.

Return

an instance of Topic assembled according to the parameters

Parameters

targetType

a class of target events/entities