Class StreamNode
java.lang.Object
org.infosmid.stream.dsl.AstNode
org.infosmid.stream.dsl.StreamNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SinkDestinationNodeprotected SourceDestinationNodeprotected final Stringprotected final Stringprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionStreamNode(String streamText, String streamName, String streamDescription, List<AppNode> appNodes, SourceDestinationNode sourceDestinationNode, SinkDestinationNode sinkDestinationNode) -
Method Summary
Modifier and TypeMethodDescriptionFind the first reference to the named app in the stream.intgetIndexOfLabel(String labelOrAppName) getName()stringify(boolean includePositionalInfo) toString()Methods inherited from class AstNode
getEndPos, getStartPos, stringify
-
Field Details
-
streamText
-
streamName
-
streamDescription
-
appNodes
-
sourceDestinationNode
-
sinkDestinationNode
-
-
Constructor Details
-
StreamNode
public StreamNode(String streamText, String streamName, String streamDescription, List<AppNode> appNodes, SourceDestinationNode sourceDestinationNode, SinkDestinationNode sinkDestinationNode)
-
-
Method Details
-
stringify
-
toString
-
getAppNodes
-
getSourceDestinationNode
-
getSinkDestinationNode
-
getStreamName
-
getStreamDescription
-
getApp
Find the first reference to the named app in the stream. If the same app is referred to multiple times the secondary references cannot be accessed via this method.- Parameters:
appName- the name of the app- Returns:
- the first occurrence of the named app in the stream
-
getIndexOfLabel
-
getStreamData
-
getStreamText
-
getName
-