Interface CapabilityDefaultsHelper

All Superinterfaces:
BambooPluginModule
All Known Implementing Classes:
AbstractExecutableCapabilityTypeModule, AbstractFileCapabilityDefaultsHelper, AbstractHomeDirectoryCapabilityDefaultsHelper, AbstractMultipleExecutableCapabilityTypeModule, AbstractPhpUnitCapabilityDefaultsHelper, AntCapabilityDefaultsHelper, CapabilityDefaultsHelperImpl, GitCapabilityTypeModule, GrailsCapabilityDefaultsHelper, Maven1CapabilityDefaultsHelper, Maven2CapabilityDefaultsHelper, Maven3CapabilityDefaultsHelper, PhpUnitCapabilityDefaultsHelper, PhpUnitPre34CapabilityDefaultsHelper, SshCapabilityTypeModule

@PublicApi public interface CapabilityDefaultsHelper extends BambooPluginModule
If implemented on a CapabilityTypeModule this interface makes the auto-detection of capabilities possible via the addDefaultCapabilities(CapabilitySet) method
Since:
3.0
  • Field Details

  • Method Details

    • addDefaultCapabilities

      @NotNull @NotNull CapabilitySet addDefaultCapabilities(@NotNull @NotNull CapabilitySet capabilitySet)
      Adds default Capabilities for this module. Used during auto-detecting server capabilities.
      Parameters:
      capabilitySet - to add the capability to
      Returns:
      the supplied capabilitySet with the new capabilities included if found, else the given capabilitySet