use of org.ovirt.engine.core.common.businessentities.SerialNumberPolicy in project ovirt-engine by oVirt.
the class VmSerialNumberBuilder method buildVmSerialNumberFromConfig.
private void buildVmSerialNumberFromConfig() {
final SerialNumberPolicy policy = Config.getValue(ConfigValues.DefaultSerialNumberPolicy);
final String customSerialNumber = Config.getValue(ConfigValues.DefaultCustomSerialNumber);
setSerialNumber(getSerialNumberFromPolicy(policy, customSerialNumber));
}
Aggregations