Alon Bar-Lev has posted comments on this change. Change subject: engine: Add infrastructure code for removal of parameter classes ......................................................................
Patch Set 2: (2 comments) .................................................... File backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/VdcParameter.java Line 6: public enum VdcParameter implements IVdcParameter { Line 7: ClusterId(Guid.class), Line 8: DataCenterId(Guid.class), Line 9: RoleId(Guid.class), Line 10: StorageDomainId(Guid.class); So maybe enum is not the right tool? is there alternative? Line 11: Line 12: private final Class javaType; Line 13: Line 14: VdcParameter(Class javaType) { .................................................... File backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/VdcParameterValue.java Line 2: Line 3: import java.io.Serializable; Line 4: import org.ovirt.engine.core.common.queries.InvalidParameterValueException; Line 5: Line 6: public class VdcParameterValue<T> implements Serializable { I want to be able to serialize the entire map and not individual parameters. Line 7: Line 8: private IVdcParameter key; Line 9: private T value; Line 10: -- To view, visit http://gerrit.ovirt.org/20414 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6a0970e492c0eff561888a46b02e47645ff68fc3 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com> Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com> Gerrit-Reviewer: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches