com.atlassian.bamboo.v2.build.agent.capability
Interface CapabilityDefaultsHelper

All Known Implementing Classes:
CapabilityDefaultsHelperImpl, HgCapabilityTypeModule

public interface CapabilityDefaultsHelper

If implemented on a CapabilityTypeModule this interface makes the auto-detection of capabilities possible via the addDefaultCapabilities(CapabilitySet) method


Method Summary
 CapabilitySet addDefaultCapabilities(CapabilitySet capabilitySet)
          Adds default Capabilities for this module.
 

Method Detail

addDefaultCapabilities

@NotNull
CapabilitySet addDefaultCapabilities(@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


Copyright © 2011 Atlassian. All Rights Reserved.