use of com.microsoft.tooling.msservices.serviceexplorer.azure.storage.asm.StorageNode in project azure-tools-for-java by Microsoft.
the class StorageAccountFolderNode method refreshItems.
@Override
protected void refreshItems() throws AzureCmdException {
if (clusterDetail != null && !clusterDetail.isEmulator()) {
try {
clusterDetail.getConfigurationInfo(getProject());
addChildNode(new StorageAccountNode(this, clusterDetail.getStorageAccount(), true));
List<HDStorageAccount> additionalStorageAccount = clusterDetail.getAdditionalStorageAccounts();
if (additionalStorageAccount != null) {
for (HDStorageAccount account : additionalStorageAccount) {
addChildNode(new StorageNode(this, account, false));
}
}
} catch (Exception exception) {
DefaultLoader.getUIHelper().showException("Failed to get HDInsight cluster configuration.", exception, "HDInsight Explorer", false, true);
}
}
}
Aggregations