Package net.sourceforge.processdash.log.defects

Examples of net.sourceforge.processdash.log.defects.DefectLogID


    String extraPathFilter = null;
    if (selected != null) {
      key = selectedKey = treeModel.getPropKey (useProps, selected.getPath());
      if (key != null) {
        String selectedPath = key.path();
        DefectLogID logid = useProps.defectLog(key, "unimportant");
        if (logid != null) {
          defectLogKey = logid.path;
          if (logid.path != key) {
            key = logid.path;
            String defectLogPath = key.path();
View Full Code Here


      // if the node addressed by oldProps owns its own defect log, we
      // don't need to worry.
      return;
    }

    DefectLogID oldLog = oldProps.defectLog(oldKey, dashboard.getDirectory());
    if (oldLog == null) {
      // if the node addressed by oldProps doesn't have a defect log,
      // we don't need to worry.
      return;
    }

    String logPath = oldLog.path.path();
    oldPrefix = oldPrefix.substring(logPath.length() + 1);

    PropertyKey newKey = PropertyKey.fromPath(newPrefix);
    DefectLogID newLog = newProps.defectLog(newKey, dashboard.getDirectory());
    if (newLog == null) {
      // Should this ever happen???
      return;
    }
    String newLogPath = newLog.path.path();
View Full Code Here

                                // walk up the tree until you find the
    String defectLogFilename;   // first node with a defect log.
    while (key != null) {
      defectLogFilename = pget(key).getDefectLog();
      if (defectLogFilename != null && defectLogFilename.length() != 0)
        return new DefectLogID(property_directory + defectLogFilename, key);
      else
        key = key.getParent();
    }

                                // if no defect log was found in this key's
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.log.defects.DefectLogID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.