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
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull CapabilitySetaddDefaultCapabilities(@NotNull CapabilitySet capabilitySet) Adds default Capabilities for this module.protected @Nullable CapabilitycreateCapability(@NotNull File content) protected abstract @NotNull Stringprotected @Nullable Stringprotected abstract @NotNull Stringprotected @Nullable StringDeprecated.
-
Constructor Details
-
AbstractFileCapabilityDefaultsHelper
public AbstractFileCapabilityDefaultsHelper()
-
-
Method Details
-
addDefaultCapabilities
@NotNull public @NotNull CapabilitySet addDefaultCapabilities(@NotNull @NotNull CapabilitySet capabilitySet) Description copied from interface:CapabilityDefaultsHelperAdds default Capabilities for this module. Used during auto-detecting server capabilities.- Specified by:
addDefaultCapabilitiesin 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()