aQute.bnd.osgi.Builder.getContained()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(113)

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

Builder.getContained介绍

暂无

代码示例

代码示例来源:origin: biz.aQute.bnd/bndlib

/**
   * Called when we 're done with a builder. In this case
   * we retrieve package information from 
   */
  protected void doneBuild(Builder builder) {
    project.exportedPackages.putAll(builder.getExports());
    project.importedPackages.putAll(builder.getImports());
    project.containedPackages.putAll(builder.getContained());
  }
}

代码示例来源:origin: biz.aQute.bnd/bnd

/**
   * Called when we 're done with a builder. In this case
   * we retrieve package information from 
   */
  protected void doneBuild(Builder builder) {
    project.exportedPackages.putAll(builder.getExports());
    project.importedPackages.putAll(builder.getImports());
    project.containedPackages.putAll(builder.getContained());
  }
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * Called when we're done with a builder. In this case we retrieve package
 * information from builder.
 */
@Override
protected void doneBuild(Builder builder) throws Exception {
  project.exportedPackages.putAll(builder.getExports());
  project.importedPackages.putAll(builder.getImports());
  project.containedPackages.putAll(builder.getContained());
  xrefClasspath(project.unreferencedClasspathEntries, builder.getImports());
  xrefClasspath(project.unreferencedClasspathEntries, builder.getContained());
  //
  // For the workspace repo, we maintain a map
  // of bsn -> version for this project. So here
  // we update this map. In the startBuild method
  // we cleared the map
  //
  Version version = new Version(cleanupVersion(builder.getVersion()));
  project.versionMap.put(builder.getBsn(), version);
  super.doneBuild(builder);
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

referred.removeAll(getContained().keySet());
if (referred.isEmpty()) {
  logger.debug("no additional conditional packages to add");

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

referred.removeAll(getContained().keySet());
if (referred.isEmpty()) {
  logger.debug("no additional conditional packages to add");

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * Called when we're done with a builder. In this case we retrieve package
 * information from builder.
 */
@Override
protected void doneBuild(Builder builder) throws Exception {
  project.exportedPackages.putAll(builder.getExports());
  project.importedPackages.putAll(builder.getImports());
  project.containedPackages.putAll(builder.getContained());
  xrefClasspath(project.unreferencedClasspathEntries, builder.getImports());
  xrefClasspath(project.unreferencedClasspathEntries, builder.getContained());
  //
  // For the workspace repo, we maintain a map
  // of bsn -> version for this project. So here
  // we update this map. In the startBuild method
  // we cleared the map
  //
  Version version = new Version(cleanupVersion(builder.getVersion()));
  project.versionMap.put(builder.getBsn(), version);
  super.doneBuild(builder);
}

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bnd

Attrs contained = getContained().put(packageRef);

代码示例来源:origin: biz.aQute.bnd/biz.aQute.bndlib

Attrs contained = getContained().put(packageRef);

代码示例来源:origin: biz.aQute/bndlib

referred.removeAll(getContained().keySet());

代码示例来源:origin: biz.aQute.bnd/bnd

referred.removeAll(getContained().keySet());

代码示例来源:origin: biz.aQute.bnd/bndlib

referred.removeAll(getContained().keySet());

相关文章

Builder类方法