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 aCapabilityTypeModule
this interface makes the auto-detection of capabilities possible via theaddDefaultCapabilities(CapabilitySet)
method- Since:
- 3.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
CAPABILITY_AGENT_ENVIRONMENT_PREFIX
static String
CAPABILITY_BUILDER_PREFIX
static String
CAPABILITY_BUILDER_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull CapabilitySet
addDefaultCapabilities(@NotNull CapabilitySet capabilitySet)
Adds default Capabilities for this module.
-
-
-
Field Detail
-
CAPABILITY_BUILDER_TYPE
static final String CAPABILITY_BUILDER_TYPE
- Since:
- 3.1
- See Also:
- Constant Field Values
-
CAPABILITY_BUILDER_PREFIX
static final String CAPABILITY_BUILDER_PREFIX
- Since:
- 3.1
- See Also:
- Constant Field Values
-
CAPABILITY_AGENT_ENVIRONMENT_PREFIX
static final String CAPABILITY_AGENT_ENVIRONMENT_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-