Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.1.0, 0.2.0
-
None
-
None
Description
Currently VersionedProcessor and VersionedControllerService both have maps of VersionedPropertyDescritpors, and also both have a Bundle and Type, but there isn't a common base class or interface between them, so a consumer of the data model can't write general code that operates on them the same.
I would propose creating two interfaces that VersionedProcessor and VersionedControllerService would implement...
1) VersionedConfigurableComponent
Map<String,VersionedPropertyDescriptor> getPropertyDescriptors() void setPropertyDescriptors(Map<String,VersionedPropertyDescriptor> propertyDescriptors) Map<String,String> getProperties() void setProperties(Map<String,String> properties)
2) VersionedExtensionComponent
Bundle getBundle() void setBundle(Bundle bundle) String getType() void setType(String type)
Attachments
Issue Links
- links to