public class ViewFactoryChain extends Object
Constructor and Description |
---|
ViewFactoryChain(EventType streamEventType,
List<ViewFactory> viewFactoryChain)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static ViewFactoryChain |
fromTypeNoViews(EventType eventType) |
int |
getDataWindowViewFactoryCount()
Returns the number of data window factories for the chain.
|
EventType |
getEventType()
Returns the final event type which is the event type of the last view factory in the chain,
or if the chain is empty then the stream's event type.
|
List<ViewFactory> |
getViewFactoryChain()
Returns the chain of view factories.
|
public ViewFactoryChain(EventType streamEventType, List<ViewFactory> viewFactoryChain)
streamEventType
- is the event type of the event streamviewFactoryChain
- is the chain of view factoriespublic EventType getEventType()
public List<ViewFactory> getViewFactoryChain()
public int getDataWindowViewFactoryCount()
public static ViewFactoryChain fromTypeNoViews(EventType eventType)