Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-7271

document plugin point CapabilityTypeModule against 2.7

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      We need to make plugin developers aware of this new plugin point.
      CR-BAM-2091

            [BAM-7271] document plugin point CapabilityTypeModule against 2.7

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3375707 ] New: JAC Suggestion Workflow 3 [ 3606949 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Monique Khairuliana (Inactive) made changes -
            Backlog Order (Obsolete) Original: 34580000000
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1434675 ] New: JAC Suggestion Workflow [ 3375707 ]
            Assignee Original: James Dumay [ jdumay ] New: Mateusz Miara [ mmiara ]
            Issue Type Original: Task [ 3 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1408764 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1434675 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 609505 ] New: Bamboo Workflow 2016 v1 [ 1408764 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 602027 ] New: Bamboo Workflow 2014 v2 [ 609505 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 267853 ] New: Bamboo Workflow 2014 [ 602027 ]
            James Dumay made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Resolved [ 5 ]
            James Dumay made changes -
            Status Original: In Progress [ 3 ] New: To be reviewed [ 10026 ]

            James Dumay added a comment - http://confluence.atlassian.com/display/BAMBOO/Capability+Type+Module

            CapabilityDefaultsHelper : if you by accident implement this interface in your CapabilityTypeModule implementation (or in any other module visible to Spring) you can implement the method:

            @NotNull
            CapabilitySet addDefaultCapabilities(@NotNull CapabilitySet capabilitySet);
            

            Then you can auto detect your capabilities.
            Despite what the prototype suggests, all known implementations of this interface just add capabilities in place to the capabilitySet and return it instead of creating a copy.
            We don't want to let the users know that, IMO

            It's not our invention (CapabilityDefaultsHelper), we just used it as it's quite convenient.

            SlawekA (Inactive) added a comment - CapabilityDefaultsHelper : if you by accident implement this interface in your CapabilityTypeModule implementation (or in any other module visible to Spring) you can implement the method: @NotNull CapabilitySet addDefaultCapabilities(@NotNull CapabilitySet capabilitySet); Then you can auto detect your capabilities. Despite what the prototype suggests, all known implementations of this interface just add capabilities in place to the capabilitySet and return it instead of creating a copy. We don't want to let the users know that, IMO It's not our invention (CapabilityDefaultsHelper), we just used it as it's quite convenient.

              mmiara Mateusz Miara (Inactive)
              pstefaniak PiotrA
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: