Class Maven2CapabilityDefaultsHelper
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.capability.AbstractFileCapabilityDefaultsHelper
-
- com.atlassian.bamboo.v2.build.agent.capability.AbstractHomeDirectoryCapabilityDefaultsHelper
-
- com.atlassian.bamboo.plugins.maven.task.Maven2CapabilityDefaultsHelper
-
- All Implemented Interfaces:
BambooPluginModule,CapabilityDefaultsHelper
public class Maven2CapabilityDefaultsHelper extends AbstractHomeDirectoryCapabilityDefaultsHelper
-
-
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 Constructor Description Maven2CapabilityDefaultsHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull CapabilitySetaddDefaultCapabilities(@NotNull CapabilitySet capabilitySet)Adds default Capabilities for this module.protected @NotNull StringgetCapabilityKey()protected @Nullable StringgetEnvHome()protected @NotNull StringgetExecutableName()protected @NotNull StringgetPosixHome()protected @NotNull List<String>getPosixHomes()protected com.google.common.base.Predicate<File>getValidityPredicate()-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractHomeDirectoryCapabilityDefaultsHelper
createCapability
-
-
-
-
Method Detail
-
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- Overrides:
addDefaultCapabilitiesin classAbstractFileCapabilityDefaultsHelper- Parameters:
capabilitySet- to add the capability to- Returns:
- the supplied capabilitySet with the new capabilities included if found, else the given capabilitySet
-
getExecutableName
@NotNull protected @NotNull String getExecutableName()
- Specified by:
getExecutableNamein classAbstractFileCapabilityDefaultsHelper
-
getEnvHome
@Nullable protected @Nullable String getEnvHome()
- Overrides:
getEnvHomein classAbstractFileCapabilityDefaultsHelper
-
getPosixHomes
@NotNull protected @NotNull List<String> getPosixHomes()
- Overrides:
getPosixHomesin classAbstractFileCapabilityDefaultsHelper
-
getPosixHome
@NotNull protected @NotNull String getPosixHome()
- Overrides:
getPosixHomein classAbstractFileCapabilityDefaultsHelper
-
getCapabilityKey
@NotNull protected @NotNull String getCapabilityKey()
- Specified by:
getCapabilityKeyin classAbstractFileCapabilityDefaultsHelper
-
getValidityPredicate
protected com.google.common.base.Predicate<File> getValidityPredicate()
- Overrides:
getValidityPredicatein classAbstractFileCapabilityDefaultsHelper
-
-