def __init__(self, argv=(), env=None, debug=False):
self._graphDict = {}<EOL>self._graphNames = []<EOL>self._subgraphDict = {}<EOL>self._subgraphNames = {}<EOL>self._filters = {}<EOL>self._flags = {}<EOL>self._argv = argv<EOL>self._env = env or {}<EOL>self.arg0 = None<EOL>self._debug = debug<EOL>self._dirtyConfig = False<EOL>self._instanceName = None<EOL>self._instanceLabel = None<EOL>self._nestedGraphs = False<EOL>if (self.plugin_name is not None and argv is not None and len(argv) > <NUM_LIT:0> <EOL>and re.search('<STR_LIT>', self.plugin_name)):<EOL><INDENT>mobj = re.match("<STR_LIT>" % self.plugin_name, <EOL>os.path.basename(argv[<NUM_LIT:0>]))<EOL>if mobj:<EOL><INDENT>self.arg0 = mobj.group(<NUM_LIT:1>)<EOL><DEDENT><DEDENT>self._parseEnv()<EOL>if self.isMultigraph:<EOL><INDENT>self.envRegisterFilter('<STR_LIT>', '<STR_LIT>')<EOL>self._nestedGraphs = self.envCheckFlag('<STR_LIT>', True)<EOL>if self.isMultiInstance:<EOL><INDENT>self._instanceName = self.envGet('<STR_LIT>')<EOL>if self._instanceName is not None:<EOL><INDENT>label_type = self.envGet('<STR_LIT>', <EOL>'<STR_LIT>').lower()<EOL>if label_type in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>self._instanceLabel = self.envGet('<STR_LIT>',<EOL>self._instanceName)<EOL>self._instanceLabelType = label_type<EOL><DEDENT>else:<EOL><INDENT>self._instanceLabel = None<EOL>self._instanceLabelType = None<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Constructor for MuninPlugin Class.

        @param argv: List of command line arguments.
        @param env:  Dict of environment variables.