public class WindowDefinition extends StreamDefinition
annotations, attributeList, id
Modifier | Constructor and Description |
---|---|
protected |
WindowDefinition(String id)
Construct a WindowDefinition object using the window id.
|
Modifier and Type | Method and Description |
---|---|
OutputStream.OutputEventType |
getOutputEventType()
Return the output event type of the window.
|
Window |
getWindow()
Return the internal window of the WindowDefinition.
|
static WindowDefinition |
id(String id)
Construct and return a WindowDefinition object using the given id.
|
void |
setOutputEventType(OutputStream.OutputEventType outputEventType)
UpdateSet output event type of the window.
|
String |
toString() |
WindowDefinition |
window(Window window)
UpdateSet the internal window to the WindowDefinition.
|
annotation, attribute
annotation, checkAttribute, equals, equalsIgnoreAnnotations, getAnnotations, getAttributeList, getAttributeNameArray, getAttributePosition, getAttributeType, getId, getQueryContextEndIndex, getQueryContextStartIndex, hashCode, setId, setQueryContextEndIndex, setQueryContextStartIndex, toString
protected WindowDefinition(String id)
id
- the window idpublic static WindowDefinition id(String id)
id
- the window idpublic WindowDefinition window(Window window)
window
- the internal windowpublic OutputStream.OutputEventType getOutputEventType()
public void setOutputEventType(OutputStream.OutputEventType outputEventType)
outputEventType
- the output event typepublic Window getWindow()
public String toString()
toString
in class AbstractDefinition
Copyright © 2018 WSO2. All rights reserved.