hudson.model.AbstractProject.checkAndRecord()方法的使用及代码示例

x33g5p2x  于2022-01-15 转载在 其他  
字(3.4k)|赞(0)|评价(0)|浏览(76)

本文整理了Java中hudson.model.AbstractProject.checkAndRecord()方法的一些代码示例,展示了AbstractProject.checkAndRecord()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractProject.checkAndRecord()方法的具体详情如下:
包路径:hudson.model.AbstractProject
类名称:AbstractProject
方法名:checkAndRecord

AbstractProject.checkAndRecord介绍

[英]Helper method for getDownstreamRelationship. For each given build, find the build number range of the given project and put that into the map.
[中]getDownstreamRelationship的助手方法。对于每个给定的构建,找到给定项目的构建编号范围,并将其放入地图中。

代码示例

代码示例来源:origin: jenkinsci/jenkins

/**
 * Gets the dependency relationship map between this project (as the source)
 * and that project (as the sink.)
 *
 * @return
 *      can be empty but not null. build number of this project to the build
 *      numbers of that project.
 */
public SortedMap<Integer, RangeSet> getRelationship(AbstractProject that) {
  TreeMap<Integer,RangeSet> r = new TreeMap<Integer,RangeSet>(REVERSE_INTEGER_COMPARATOR);
  checkAndRecord(that, r, this.getBuilds());
  // checkAndRecord(that, r, that.getBuilds());
  return r;
}

代码示例来源:origin: org.eclipse.hudson/hudson-core

/**
 * Gets the dependency relationship map between this project (as the source)
 * and that project (as the sink.)
 *
 * @return can be empty but not null. build number of this project to the
 * build numbers of that project.
 */
public SortedMap<Integer, RangeSet> getRelationship(AbstractProject that) {
  TreeMap<Integer, RangeSet> r = new TreeMap<Integer, RangeSet>(REVERSE_INTEGER_COMPARATOR);
  checkAndRecord(that, r, this.getBuilds());
  // checkAndRecord(that, r, that.getBuilds());
  return r;
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

/**
 * Gets the dependency relationship map between this project (as the source)
 * and that project (as the sink.)
 *
 * @return
 *      can be empty but not null. build number of this project to the build
 *      numbers of that project.
 */
public SortedMap<Integer, RangeSet> getRelationship(AbstractProject that) {
  TreeMap<Integer,RangeSet> r = new TreeMap<Integer,RangeSet>(REVERSE_INTEGER_COMPARATOR);
  checkAndRecord(that, r, this.getBuilds());
  // checkAndRecord(that, r, that.getBuilds());
  return r;
}

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

/**
 * Gets the dependency relationship map between this project (as the source)
 * and that project (as the sink.)
 *
 * @return
 *      can be empty but not null. build number of this project to the build
 *      numbers of that project.
 */
public SortedMap<Integer, RangeSet> getRelationship(AbstractProject that) {
  TreeMap<Integer,RangeSet> r = new TreeMap<Integer,RangeSet>(REVERSE_INTEGER_COMPARATOR);
  checkAndRecord(that, r, this.getBuilds());
  // checkAndRecord(that, r, that.getBuilds());
  return r;
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

/**
 * Gets the dependency relationship map between this project (as the source)
 * and that project (as the sink.)
 *
 * @return can be empty but not null. build number of this project to the
 * build numbers of that project.
 */
public SortedMap<Integer, RangeSet> getRelationship(AbstractProject that) {
  TreeMap<Integer, RangeSet> r = new TreeMap<Integer, RangeSet>(REVERSE_INTEGER_COMPARATOR);
  checkAndRecord(that, r, this.getBuilds());
  // checkAndRecord(that, r, that.getBuilds());
  return r;
}

代码示例来源:origin: hudson/hudson-2.x

/**
 * Gets the dependency relationship map between this project (as the source)
 * and that project (as the sink.)
 *
 * @return
 *      can be empty but not null. build number of this project to the build
 *      numbers of that project.
 */
public SortedMap<Integer, RangeSet> getRelationship(AbstractProject that) {
  TreeMap<Integer,RangeSet> r = new TreeMap<Integer,RangeSet>(REVERSE_INTEGER_COMPARATOR);
  checkAndRecord(that, r, this.getBuilds());
  // checkAndRecord(that, r, that.getBuilds());
  return r;
}

相关文章

微信公众号

最新文章

更多

AbstractProject类方法