Module openj9.dtfj

Class MonitorTagParser

java.lang.Object
com.ibm.dtfj.javacore.parser.framework.tag.TagParser
com.ibm.dtfj.javacore.parser.j9.section.monitor.MonitorTagParser
All Implemented Interfaces:
ITagParser, IMonitorTypes

public class MonitorTagParser extends TagParser implements IMonitorTypes
  • Constructor Details

    • MonitorTagParser

      public MonitorTagParser()
  • Method Details

    • initTagAttributeRules

      protected void initTagAttributeRules()
      Description copied from class: TagParser
      Must be implemented by the caller. Should not be called, just implemented.
      Typically contains a series of TagParser.addTag(String, ILineRule) calls. Parent class knows where to call this method.

      General guidelines:

      For tags that contain attributes with meaningful values:
      Specify line rules with patterns that are of interest:
      1. patterns that precedes a value (e.g., a ":", "=", etc..);
      2. patterns that match a value;
      If an attribute value in a line rule pertaining to some tag has more than one possible pattern (e.g., "info" = (Class.java:23) or "info" = (Native Method) ), list all of the patterns for that value in its corresponding line rule. If the first doesn't match, nothing happens, so the line rule will check the next pattern until a match occurs.
      Any other pattern occurring in the source string will be ignored.


      For tags with no attributes, or meaningful values:
      Specify null for line rules.
      Specified by:
      initTagAttributeRules in class TagParser