Search in sources :

Example 1 with ApiProductVersion

use of com.cloudera.api.swagger.model.ApiProductVersion in project cloudbreak by hortonworks.

the class CmTemplateProcessor method addProduct.

public void addProduct(String product, String version) {
    ApiProductVersion productVersion = new ApiProductVersion();
    productVersion.setProduct(product);
    productVersion.setVersion(version);
    cmTemplate.addProductsItem(productVersion);
}
Also used : ApiProductVersion(com.cloudera.api.swagger.model.ApiProductVersion)

Aggregations

ApiProductVersion (com.cloudera.api.swagger.model.ApiProductVersion)1