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)
Set output event type of the window.
|
String |
toString() |
WindowDefinition |
window(Window window)
Set the internal window to the WindowDefinition.
|
annotation, attributeannotation, checkAttribute, equals, equalsIgnoreAnnotations, getAnnotations, getAttributeList, getAttributeNameArray, getAttributePosition, getAttributeType, getId, hashCode, setIdprotected WindowDefinition(String id)
id - the window idpublic static WindowDefinition id(String id)
id - the window idpublic WindowDefinition window(Window window)
window - the internal windowpublic void setOutputEventType(OutputStream.OutputEventType outputEventType)
outputEventType - the output event typepublic OutputStream.OutputEventType getOutputEventType()
public Window getWindow()
public String toString()
toString in class StreamDefinitionCopyright © 2025 WSO2. All Rights Reserved.