buffer.append("\nDEPLOYMENTS MISSING DEPENDENCIES:\n");
for (ControllerContext ctx : incomplete)
{
Object name = ctx.getName();
buffer.append(String.format(" Deployment \"%s\" is missing the following dependencies:\n", name));
DependencyInfo dependsInfo = ctx.getDependencyInfo();
Set<DependencyItem> depends = dependsInfo.getIDependOn(null);
for (DependencyItem item : depends)
{
ControllerState dependentState = item.getDependentState();
if (dependentState == null)
dependentState = ControllerState.INSTALLED;