@Override
public List<HadoopStack> getSupportedStacks()
throws SoftwareManagementPluginException {
List<HadoopStack> hadoopStacks = new ArrayList<HadoopStack>();
ApiStackList stackList = apiManager.getStackList();
for (ApiStack apiStack : stackList.getApiStacks()) {
for (ApiStackVersion apiStackVersionSummary : apiManager
.getStackVersionList(apiStack.getApiStackName().getStackName())
.getApiStackVersions()) {
ApiStackVersionInfo apiStackVersionInfoSummary =
apiStackVersionSummary.getApiStackVersionInfo();