public interface ValueAddEventService
Associates named windows and revision event types.
Modifier and Type | Method and Description |
---|---|
void |
addRevisionEventType(String name,
ConfigurationRevisionEventType config,
EventAdapterService eventAdapterService)
Adds a new revision event types.
|
void |
addVariantStream(String variantEventTypeName,
ConfigurationVariantStream variantStreamConfig,
EventAdapterService eventAdapterService,
EventTypeIdGenerator eventTypeIdGenerator)
Adds a new variant stream.
|
EventType |
createRevisionType(String namedWindowName,
String typeName,
StatementStopService statementStopService,
EventAdapterService eventAdapterService,
EventTypeIdGenerator eventTypeIdGenerator)
Upon named window creation, create a unique revision event type that this window processes.
|
EventType[] |
getValueAddedTypes()
Returns all event types representing value-add event types.
|
ValueAddEventProcessor |
getValueAddProcessor(String name)
Gets a value-added event processor.
|
EventType |
getValueAddUnderlyingType(String name)
Upon named window creation, and during resolution of type specified as part of a named window create statement,
returns looks up the revision event type name provided and return the revision event type if found, or null if not found.
|
void |
init(Map<String,ConfigurationRevisionEventType> revisionTypes,
Map<String,ConfigurationVariantStream> variantStreams,
EventAdapterService eventAdapterService,
EventTypeIdGenerator eventTypeIdGenerator)
Called at initialization time, verifies configurations provided.
|
boolean |
isRevisionTypeName(String name)
Upon named window creation, check if the name used is a revision event type name.
|
void init(Map<String,ConfigurationRevisionEventType> revisionTypes, Map<String,ConfigurationVariantStream> variantStreams, EventAdapterService eventAdapterService, EventTypeIdGenerator eventTypeIdGenerator)
revisionTypes
- is the revision types to addvariantStreams
- is the variant streams to addeventAdapterService
- for obtaining event type information for each nameeventTypeIdGenerator
- event type id providervoid addRevisionEventType(String name, ConfigurationRevisionEventType config, EventAdapterService eventAdapterService)
name
- to addconfig
- the revision event type configurationeventAdapterService
- for obtaining event type information for each namevoid addVariantStream(String variantEventTypeName, ConfigurationVariantStream variantStreamConfig, EventAdapterService eventAdapterService, EventTypeIdGenerator eventTypeIdGenerator) throws ConfigurationException
variantEventTypeName
- the name of the typevariantStreamConfig
- the configseventAdapterService
- for handling nested eventseventTypeIdGenerator
- event type id providerConfigurationException
- if the configuration is invalidEventType getValueAddUnderlyingType(String name)
name
- to look upEventType createRevisionType(String namedWindowName, String typeName, StatementStopService statementStopService, EventAdapterService eventAdapterService, EventTypeIdGenerator eventTypeIdGenerator)
namedWindowName
- name of windowtypeName
- name to usestatementStopService
- for handling stopseventAdapterService
- for event type infoeventTypeIdGenerator
- event type id providerboolean isRevisionTypeName(String name)
name
- to checkValueAddEventProcessor getValueAddProcessor(String name)
name
- of the value-add eventsEventType[] getValueAddedTypes()