Class AbstractFileCapabilityDefaultsHelper
java.lang.Object
com.atlassian.bamboo.v2.build.agent.capability.AbstractFileCapabilityDefaultsHelper
- All Implemented Interfaces:
BambooPluginModule
,CapabilityDefaultsHelper
- Direct Known Subclasses:
AbstractHomeDirectoryCapabilityDefaultsHelper
,AbstractPhpUnitCapabilityDefaultsHelper
public abstract class AbstractFileCapabilityDefaultsHelper
extends Object
implements CapabilityDefaultsHelper
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.capability.CapabilityDefaultsHelper
CAPABILITY_AGENT_ENVIRONMENT_PREFIX, CAPABILITY_BUILDER_PREFIX, CAPABILITY_BUILDER_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull CapabilitySet
addDefaultCapabilities
(@NotNull CapabilitySet capabilitySet) Adds default Capabilities for this module.protected @Nullable Capability
createCapability
(@NotNull File content) protected abstract @NotNull String
protected @Nullable String
protected abstract @NotNull String
protected @Nullable String
Deprecated.
-
Constructor Details
-
AbstractFileCapabilityDefaultsHelper
public AbstractFileCapabilityDefaultsHelper()
-
-
Method Details
-
addDefaultCapabilities
@NotNull public @NotNull CapabilitySet addDefaultCapabilities(@NotNull @NotNull CapabilitySet capabilitySet) Description copied from interface:CapabilityDefaultsHelper
Adds default Capabilities for this module. Used during auto-detecting server capabilities.- Specified by:
addDefaultCapabilities
in interfaceCapabilityDefaultsHelper
- Parameters:
capabilitySet
- to add the capability to- Returns:
- the supplied capabilitySet with the new capabilities included if found, else the given capabilitySet
-
createCapability
-
getExecutableName
-
getCapabilityKey
-
getEnvHome
-
getPosixHomes
-
getPosixHome
Deprecated.since 6.5 usegetPosixHomes()
-
getValidityPredicate
-
getPosixHomes()