package org.ovirt.engine.core.common.queries;

public class GetConfigurationValueParameters extends VdcQueryParametersBase {
    private static final long serialVersionUID = -5889171970595969719L;

    public GetConfigurationValueParameters(ConfigurationValues cVal) {
        _configValue = cVal;
    }

    private ConfigurationValues _configValue;

    public ConfigurationValues getConfigValue() {
        return _configValue;
    }

    private String privateVersion;

    public String getVersion() {
        return privateVersion;
    }

    public void setVersion(String value) {
        privateVersion = value;
    }

    public GetConfigurationValueParameters(ConfigurationValues cVal, String version) {
        _configValue = cVal;
        privateVersion = version;
    }

    public GetConfigurationValueParameters() {
        _configValue = ConfigurationValues.MaxNumOfVmCpus;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder(50);
        builder.append("version: "); //$NON-NLS-1$
        builder.append(getVersion());
        builder.append(", configuration value: ");
        builder.append(getConfigValue());
        builder.append(", ");
        builder.append(super.toString());
        return builder.toString();
    }
}

@@ -270,35 +270,32 @@
         
-_configValue = cVal
+this(cVal, null)
 ;%0A    %7D%0A
@@ -759,38 +759,65 @@
 sion = version;%0A
+        setRefresh(false);%0A
     %7D%0A
-
 %0A    public GetC
@@ -856,31 +856,21 @@
         
-_configValue = 
+this(
 Configur
@@ -895,16 +895,17 @@
 OfVmCpus
+)
 ;%0A    %7D%0A

Change GetConfiguration query not to refresh session