if (debugAction == null) {
return Collections.emptyList();
}
// For now only handle one action per context request.
DebugActionDescriptor descriptor = new DebugActionDescriptor(serverModule, cloudFoundryServer, debugAction);
DebugAction menuAction = new DebugAction(descriptor);
List<IAction> actions = new ArrayList<IAction>();
actions.add(menuAction);
return actions;
}