Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-201

Allow partial properties to extend from Properties

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Work Item
    • Resolution: Fixed
    • Minor
    • 0.12.0
    • None
    • None
    • None
    • All
    • GreenHopper Ranking:
      0|i0upkr:
    • 9223372036854775807
    • Small

    Description

      For now partial properties (Properties, which are the part of ComponentProperties. For example ConnectionProperties) couldn't extend Properties class.
      It should extend ComponentProperties, because ClassCastException is thrown otherwise. For example, here
      https://github.com/Talend/tdi-studio-se/blob/1f34e0691fe620253b112df03b433b1a4019ad4e/main/plugins/org.talend.designer.core.generic/src/main/java/org/talend/designer/core/generic/utils/ComponentsUtils.java#L194

      But ComponentProperties contain a lot of things, which are redundant for partial properties.
      Also services callbacks should be working on Properties and not ComponentProperties.

      Properties from component-common project should also extend from Properties class.

      Attachments

        Activity

          People

            sgandon sebastien gandon
            igonchar Ivan Gonchar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: