

@classmethod
def register(cls, dispatchTree, userName, rootName):
    rootNode = FolderNode(None, rootName, dispatchTree.root, rootNode, 1, 1, 0, FifoStrategy(), None)
    rule = cls(dispatchTree, rootNode)
    dispatchTree.rules.append(rule)
    for task in dispatchTree.tasks.values():
        rule.apply(task)
    return rule

dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/octopus/dispatcher/rules/userview.py UserView.register/VarMisuse@31/41 `userName`->`rootNode`