private String getVmRestartPriority(ClusterConfigInfoEx clusterConfigInfoEx) {
        JsonArray resultArray = new JsonArray();
        List<ClusterDasVmConfigInfo> dasVmConfig = clusterConfigInfoEx.getDasVmConfig();
        for (ClusterDasVmConfigInfo clusterDasVmConfigInfo : dasVmConfig) {
            JsonObject vmRestartPriority = new JsonObject();
            vmRestartPriority.addProperty(VM_ID, clusterDasVmConfigInfo.getKey().getValue());
            vmRestartPriority.addProperty(RESTART_PRIORITY, clusterDasVmConfigInfo.getDasSettings().getRestartPriority());
            resultArray.add(vmRestartPriority);
        }
        return resultArray.toString();
    }
private String getVmRestartPriority ( ClusterConfigInfoEx clusterConfigInfoEx ) { JsonArray resultArray = new JsonArray ( ) ; List < ClusterDasVmConfigInfo > dasVmConfig = clusterConfigInfoEx . getDasVmConfig ( ) ; for ( ClusterDasVmConfigInfo clusterDasVmConfigInfo : dasVmConfig ) { JsonObject vmRestartPriority = new JsonObject ( ) ; vmRestartPriority . addProperty ( VM_ID , clusterDasVmConfigInfo . getKey ( ) . getValue ( ) ) ; vmRestartPriority . addProperty ( RESTART_PRIORITY , clusterDasVmConfigInfo . getDasSettings ( ) . getRestartPriority ( ) ) ; resultArray . add ( vmRestartPriority ) ; } return resultArray . toString ( ) ; }
@param clusterConfigInfoEx
@return