Search in sources :

Example 1 with CustomConfigPreviewParam

use of com.emc.storageos.model.customconfig.CustomConfigPreviewParam in project coprhd-controller by CoprHD.

the class CustomConfigUtils method generatePreview.

public static CustomConfigPreviewRep generatePreview(String configType, String scopeType, String scopeValue, String value) {
    CustomConfigPreviewParam param = new CustomConfigPreviewParam();
    param.setConfigType(configType);
    param.setScope(new ScopeParam(scopeType, scopeValue));
    param.setValue(value);
    return getViprClient().customConfigs().getCustomConfigPreviewValue(param);
}
Also used : ScopeParam(com.emc.storageos.model.customconfig.ScopeParam) CustomConfigPreviewParam(com.emc.storageos.model.customconfig.CustomConfigPreviewParam)

Aggregations

CustomConfigPreviewParam (com.emc.storageos.model.customconfig.CustomConfigPreviewParam)1 ScopeParam (com.emc.storageos.model.customconfig.ScopeParam)1