com.ibm.broker.config.appdev.nodes

Class TraceNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class TraceNode
    extends Node

    TraceNode instance

    Trace node generates trace records that can incorporate text, message content, date and time information, to help monitor the flow behavior

     Change Activity:
     -------- ----------- -------------   ------------------------------------
     Reason:  Date:       Originator:     Comments:
     -------- ----------- -------------   ------------------------------------
     xxxxx.x  2010-08-10  dstorey         creation
     xxxxx.x  xxxx-xx-xx  generated       7.0.0.2 Release
     
    See Also:
    Serialized Form
    • Constructor Detail

      • TraceNode

        public TraceNode()
    • Method Detail

      • getInputTerminals

        public InputTerminal[] getInputTerminals()
        Description copied from class: Node
        Gets the full list of available InputTerminals for this Node
        Specified by:
        getInputTerminals in class Node
        Returns:
        InputTerminal[]
      • getOutputTerminals

        public OutputTerminal[] getOutputTerminals()
        Description copied from class: Node
        Gets the full list of available OutputTerminals for this Node
        Specified by:
        getOutputTerminals in class Node
        Returns:
        OutputTerminal[]
      • getTypeName

        public java.lang.String getTypeName()
        Description copied from class: Node
        Gets the node type of this node
        Specified by:
        getTypeName in class Node
        Returns:
        String; the node type
      • setDestination

        public TraceNode setDestination(TraceNode.ENUM_TRACE_DESTINATION value)
        Set the TraceNode "Destination" property
        Parameters:
        value - ENUM_TRACE_DESTINATION ; the value to set the property "Destination"
      • getDestination

        public TraceNode.ENUM_TRACE_DESTINATION getDestination()
        Get the TraceNode "Destination" property
        Returns:
        ENUM_TRACE_DESTINATION; the value of the property "Destination"
      • setFilePath

        public TraceNode setFilePath(java.lang.String value)
        Set the TraceNode "File path" property
        Parameters:
        value - String ; the value to set the property "File path"
      • getFilePath

        public java.lang.String getFilePath()
        Get the TraceNode "File path" property
        Returns:
        String; the value of the property "File path"
      • setPattern

        public TraceNode setPattern(java.lang.String value)
        Set the TraceNode "Pattern" property
        Parameters:
        value - String ; the value to set the property "Pattern"
      • getPattern

        public java.lang.String getPattern()
        Get the TraceNode "Pattern" property
        Returns:
        String; the value of the property "Pattern"
      • setMessageCatalog

        public TraceNode setMessageCatalog(java.lang.String value)
        Set the TraceNode "Message catalog" property
        Parameters:
        value - String ; the value to set the property "Message catalog"
      • getMessageCatalog

        public java.lang.String getMessageCatalog()
        Get the TraceNode "Message catalog" property
        Returns:
        String; the value of the property "Message catalog"
      • setMessageNumber

        public TraceNode setMessageNumber(int value)
        Set the TraceNode "Message number" property
        Parameters:
        value - int ; the value to set the property "Message number"
      • getMessageNumber

        public int getMessageNumber()
        Get the TraceNode Message number property
        Returns:
        int; the value of the property "Message number"
      • getNodeName

        public java.lang.String getNodeName()
        Description copied from class: Node
        Gets the label name of this node
          MessageFlow mf1 = patternInstanceManager.getMessageFlow("MyFlowProject", "mf1.msgflow");
          Node inputMQNode = mf1.getNodeByName("My Input Node");
          inputMQNode.setNodeName("Renamed Input Node");
         
        Overrides:
        getNodeName in class Node
        Returns:
        String; the node name