本文整理了Java中org.apache.karaf.features.Feature.getDescription()
方法的一些代码示例,展示了Feature.getDescription()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Feature.getDescription()
方法的具体详情如下:
包路径:org.apache.karaf.features.Feature
类名称:Feature
方法名:getDescription
暂无
代码示例来源:origin: apache/karaf
@Override
public String getDescription() {
return this.feature.getDescription();
}
代码示例来源:origin: org.opendaylight.controller/config-persister-feature-adapter
/**
* @return
* @see org.apache.karaf.features.Feature#getDescription()
*/
@Override
public String getDescription() {
return feature.getDescription();
}
代码示例来源:origin: apache/karaf
protected void add(List<Candidate> candidates, Feature feature) {
candidates.add(new Candidate(
feature.getName(), feature.getName(), null,
feature.getDescription(), null, null, true));
}
代码示例来源:origin: org.apache.karaf.features/org.apache.karaf.features.command
protected void add(List<Candidate> candidates, Feature feature) {
candidates.add(new Candidate(
feature.getName(), feature.getName(), null,
feature.getDescription(), null, null, true));
}
代码示例来源:origin: openhab/openhab-core
private Extension getExtension(Feature feature) {
String name = getName(feature.getName());
String type = getType(feature.getName());
String extId = type + "-" + name;
String label = feature.getDescription();
String version = feature.getVersion();
String link = null;
if (type.equals("binding")) {
link = "https://www.openhab.org/addons/bindings/" + name + "/";
} else if (type.equals("action")) {
link = "https://www.openhab.org/addons/actions/" + name + "/";
} else if (type.equals("persistence")) {
link = "https://www.openhab.org/addons/persistence/" + name + "/";
}
boolean installed = featuresService.isInstalled(feature);
return new Extension(extId, type, label, version, link, installed);
}
代码示例来源:origin: apache/karaf
if (feature.getDescription() != null) {
System.out.println("Description:");
System.out.println(INDENT + feature.getDescription());
代码示例来源:origin: org.apache.karaf.features/org.apache.karaf.features.command
if (feature.getDescription() != null) {
System.out.println("Description:");
System.out.println(INDENT + feature.getDescription());
代码示例来源:origin: apache/karaf
featuresService.getState(f.getId()),
r.getName(),
f.getDescription());
if (showBlacklisted) {
row.addContent(f.isBlacklisted() ? "yes" : "no");
代码示例来源:origin: org.apache.karaf.features/org.apache.karaf.features.command
featuresService.getState(f.getId()),
r.getName(),
f.getDescription());
if (showBlacklisted) {
row.addContent(f.isBlacklisted() ? "yes" : "no");
内容来源于网络,如有侵权,请联系作者删除!