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

x33g5p2x  于2022-01-16 转载在 其他  
字(5.0k)|赞(0)|评价(0)|浏览(118)

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

Analyzer.isTrue介绍

暂无

代码示例

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

/**
 * @return {@code true} if the {@code -resourceonly} instruction is set,
 *         {@code false} otherwise
 */
boolean isResourceOnly() {
  return isTrue(getProperty(RESOURCEONLY));
}

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

/**
 * @return
 */
boolean isResourceOnly() {
  return isTrue(getProperty(RESOURCEONLY));
}

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

/**
 * @return
 */
boolean isResourceOnly() {
  return isTrue(getProperty(RESOURCEONLY));
}

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

/**
 * @return {@code true} if the {@code -resourceonly} instruction is set,
 *         {@code false} otherwise
 */
boolean isResourceOnly() {
  return isTrue(getProperty(RESOURCEONLY));
}

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

/**
 * @return
 */
boolean isResourceOnly() {
  return isTrue(getProperty(RESOURCEONLY));
}

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

public boolean isNoBundle() {
  return isTrue(getProperty(RESOURCEONLY)) || isTrue(getProperty(NOMANIFEST));
}

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

public boolean isNoBundle() {
  return isTrue(getProperty(RESOURCEONLY)) || isTrue(getProperty(NOMANIFEST));
}

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

public boolean isNoBundle() {
  return isTrue(getProperty(RESOURCEONLY)) || isTrue(getProperty(NOMANIFEST));
}

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

public boolean isNoBundle() {
  return isTrue(getProperty(RESOURCEONLY)) || isTrue(getProperty(NOMANIFEST));
}

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

public boolean isNoBundle() {
  return isTrue(getProperty(RESOURCEONLY)) || isTrue(getProperty(NOMANIFEST));
}

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

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef, List<PackageRef>> uses, Packages imports) {
  if (isTrue(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet()
    .iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    } finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

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

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef,List<PackageRef>> uses, Packages imports) {
  if (isTrue(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet().iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    }
    finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

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

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef, List<PackageRef>> uses, Packages imports) {
  if (isTrue(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet()
    .iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    } finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

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

/**
 * Add the uses clauses. This method iterates over the exports and cal
 * 
 * @param exports
 * @param uses
 * @throws MojoExecutionException
 */
void doUses(Packages exports, Map<PackageRef,List<PackageRef>> uses, Packages imports) {
  if (isTrue(getProperty(NOUSES)))
    return;
  for (Iterator<PackageRef> i = exports.keySet().iterator(); i.hasNext();) {
    PackageRef packageRef = i.next();
    String packageName = packageRef.getFQN();
    setProperty(CURRENT_PACKAGE, packageName);
    try {
      doUses(packageRef, exports, uses, imports);
    }
    finally {
      unsetProperty(CURRENT_PACKAGE);
    }
  }
}

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

if (!isTrue(getProperty(NOEE)) //

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

boolean provider = isTrue(importAttributes.get(PROVIDE_DIRECTIVE))
    || isTrue(exportAttributes.get(PROVIDE_DIRECTIVE)) || provided.contains(packageRef);

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

boolean provider = isTrue(importAttributes.get(PROVIDE_DIRECTIVE))
    || isTrue(exportAttributes.get(PROVIDE_DIRECTIVE)) || provided.contains(packageRef);

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

boolean provider = isTrue(importAttributes.get(PROVIDE_DIRECTIVE))
    || isTrue(exportAttributes.get(PROVIDE_DIRECTIVE)) || provided.contains(packageRef);

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

provider = isTrue(importAttributes.get(PROVIDE_DIRECTIVE));
} else if (exportAttributes.containsKey(PROVIDE_DIRECTIVE)) {
  provider = isTrue(exportAttributes.get(PROVIDE_DIRECTIVE));
} else {
  provider = provided.contains(packageRef);

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

provider = isTrue(importAttributes.get(PROVIDE_DIRECTIVE));
} else if (exportAttributes.containsKey(PROVIDE_DIRECTIVE)) {
  provider = isTrue(exportAttributes.get(PROVIDE_DIRECTIVE));
} else {
  provider = provided.contains(packageRef);

相关文章

Analyzer类方法