public class ConfigurationVariantStream
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationVariantStream.TypeVariance
Enumeration specifying whether only the predefine types or any type of event is accepted by the variant stream.
|
Constructor and Description |
---|
ConfigurationVariantStream()
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addEventTypeName(java.lang.String eventTypeName)
Adds names of an event types that is one of the predefined event typs allowed for the variant stream.
|
ConfigurationVariantStream.TypeVariance |
getTypeVariance()
Returns the type variance setting specifying whether the variant stream accepts event of
only the predefined types or any type.
|
java.util.List<java.lang.String> |
getVariantTypeNames()
Returns the names of event types that a predefined for the variant stream.
|
void |
setTypeVariance(ConfigurationVariantStream.TypeVariance typeVariance)
Sets the type variance setting specifying whether the variant stream accepts event of
only the predefined types or any type.
|
public ConfigurationVariantStream.TypeVariance getTypeVariance()
public void setTypeVariance(ConfigurationVariantStream.TypeVariance typeVariance)
typeVariance
- type variance settingpublic java.util.List<java.lang.String> getVariantTypeNames()
public void addEventTypeName(java.lang.String eventTypeName)
eventTypeName
- name of the event type to allow in the variant stream