public class VariantSpec extends Object
Constructor and Description |
---|
VariantSpec(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.
|
String |
getVariantStreamName()
Returns name of variant stream.
|
public VariantSpec(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 String getVariantStreamName()
public EventType[] getEventTypes()
public ConfigurationVariantStream.TypeVariance getTypeVariance()