use of com.emc.vipr.model.sys.eventhandler.Device in project coprhd-controller by CoprHD.
the class BuildEsrsDevice method build.
/**
* Build the Device object using the ViPR Controller license information.
*
* @return
* @throws LocalRepositoryException
* @throws Exception
*/
public Device build() throws Exception {
Device device = new Device();
LicenseInfoExt licenseInfo = _licenseManager.getLicenseInfoFromCoordinator(LicenseType.CONTROLLER);
buildDevice(licenseInfo, device);
return device;
}
Aggregations