Class WoolNodeBody.CommandSegment

    • Constructor Detail

      • CommandSegment

        public CommandSegment​(WoolCommand command)
    • Method Detail

      • findReplyById

        public WoolReply findReplyById​(int replyId)
        Description copied from class: WoolNodeBody.Segment
        Tries to find a reply with the specified ID within this segment. If no such reply is found, this method returns null.
        Specified by:
        findReplyById in class WoolNodeBody.Segment
        Parameters:
        replyId - the reply ID
        Returns:
        the reply or null
      • getReadVariableNames

        public void getReadVariableNames​(Set<String> varNames)
        Description copied from class: WoolNodeBody.Segment
        Retrieves all variable names that are read in this segment and adds them to the specified set.
        Specified by:
        getReadVariableNames in class WoolNodeBody.Segment
        Parameters:
        varNames - the set to which the variable names are added
      • getWriteVariableNames

        public void getWriteVariableNames​(Set<String> varNames)
        Description copied from class: WoolNodeBody.Segment
        Retrieves all variable names that are written in this segment and adds them to the specified set.
        Specified by:
        getWriteVariableNames in class WoolNodeBody.Segment
        Parameters:
        varNames - the set to which the variable names are added