Class AppNode

java.lang.Object
org.infosmid.stream.dsl.AstNode
org.infosmid.stream.dsl.AppNode

public class AppNode extends AstNode
  • Field Details

    • appName

      protected final String appName
    • label

      protected LabelNode label
    • arguments

      protected ArgumentNode[] arguments
    • isUnboundStreamApp

      protected boolean isUnboundStreamApp
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • stringify

      public String stringify(boolean includePositionalInfo)
      Specified by:
      stringify in class AstNode
      Parameters:
      includePositionalInfo - position information is returned as a part of the result if set to true.
      Returns:
      a string representation of the AST. Useful for debugging/testing.
    • getName

      public String getName()
    • getArguments

      public ArgumentNode[] getArguments()
    • hasArguments

      public boolean hasArguments()
    • getLabelName

      public String getLabelName()
      Return the label for this app, that is:
      • an explicit label if provided
      • the app name if no label was provided
      Returns:
      String containing the label
    • getArgumentsAsProperties

      public Properties getArgumentsAsProperties()
      Returns:
      Retrieve the app arguments as a simple Properties object.
    • setUnboundStreamApp

      public void setUnboundStreamApp(boolean b)
    • isUnboundStreamApp

      public boolean isUnboundStreamApp()