Class ScriptNode


  • public class ScriptNode
    extends Node
    The ScriptNode allows a server-side script to be used to control stream processing. For an easier but less flexible way of dynamic Stream handling, the DynamicPipelineNode can be used.
    • Constructor Detail

      • ScriptNode

        public ScriptNode()
    • Method Detail

      • getWorkerClassName

        public String getWorkerClassName()
        Description copied from class: Node
        Return the node's associated com.levigo.jadice.server.core.NodeWorker full qualified class's name. By default, the worker class name is
        • The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
        • The node class name with an appended "Worker" otherwise.
        The package name of the worker class is the name of the Node's package with an appended ".worker".

        This behavior can be overridden in concrete subclasses.

        Overrides:
        getWorkerClassName in class Node
        Returns:
        the full qualified class name of the worker of this node.
      • getScript

        public URI getScript()
        Returns:
        the location of the script to be executed
      • setScript

        public void setScript​(URI location)
        Set the location of the script that will be executed.
        Parameters:
        location - the script to execute
        Since:
        jadice server 4.2.0.0