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

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

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 Summary
static java.lang.String CAPABILITY_BUILDER_PREFIX
           
static java.lang.String CAPABILITY_BUILDER_TYPE
           
 
Method Summary
 CapabilitySet addDefaultCapabilities(CapabilitySet capabilitySet)
          Adds default Capabilities for this module.
 

Field Detail

CAPABILITY_BUILDER_TYPE

static final java.lang.String CAPABILITY_BUILDER_TYPE
Since:
3.1
See Also:
Constant Field Values

CAPABILITY_BUILDER_PREFIX

static final java.lang.String CAPABILITY_BUILDER_PREFIX
Since:
3.1
See Also:
Constant Field Values
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 © 2012 Atlassian. All Rights Reserved.