if (getNode() == null) {
return true;
}
if (toks.size() > 1) {
String curi = toks.get(1);
ContributionDescription cd = getNode().getInstalledContribution(toks.get(1));
if (cd == null) {
out.println("Contribution " + curi + " not installed");
} else {
out.println(curi);
out.println(" URL: " + cd.getURL());
List<String> ims = new ArrayList<String>();
for (String im : cd.getJavaImports()) {
ims.add(im);
}
for (String im : cd.getNamespaceImports()) {
ims.add(im);
}
out.println(" Imports: " + ims);
List<String> es = new ArrayList<String>();
for (String e : cd.getJavaExports()) {
es.add(e);
}
for (String e : cd.getNamespaceExports()) {
es.add(e);
}
out.println(" Exports: " + es);
List<String> ds = new ArrayList<String>();
for (String cp : cd.getDeployables()) {
ds.add(cp);
}
for (String cp : cd.getAdditionalDeployables().keySet()) {
ds.add(cp);
}
out.println(" Deployables: " + ds);
}
} else {