public class VariantSpec
extends java.lang.Object
Constructor and Description |
---|
VariantSpec(java.lang.String variantStreamName,
EventType[] eventTypes,
ConfigurationVariantStream.TypeVariance typeVariance)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EventType[] |
getEventTypes()
Returns types allowed for variant streams.
|
ConfigurationVariantStream.TypeVariance |
getTypeVariance()
Returns the type variance enum.
|
java.lang.String |
getVariantStreamName()
Returns name of variant stream.
|
public VariantSpec(java.lang.String variantStreamName, EventType[] eventTypes, ConfigurationVariantStream.TypeVariance typeVariance)
variantStreamName
- name of variant streameventTypes
- types of events for variant stream, or empty listtypeVariance
- enum specifying type variancepublic java.lang.String getVariantStreamName()
public EventType[] getEventTypes()
public ConfigurationVariantStream.TypeVariance getTypeVariance()