com.atlassian.bamboo.v2.build.agent.capability
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 java.lang.Object
- implements CapabilityDefaultsHelper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFileCapabilityDefaultsHelper
public AbstractFileCapabilityDefaultsHelper()
addDefaultCapabilities
@NotNull
public CapabilitySet addDefaultCapabilities(@NotNull
CapabilitySet capabilitySet)
- Description copied from interface:
CapabilityDefaultsHelper
- Adds default Capabilities for this module. Used during auto-detecting server capabilities.
- Specified by:
addDefaultCapabilities
in interface CapabilityDefaultsHelper
- Parameters:
capabilitySet
- to add the capability to
- Returns:
- the supplied capabilitySet with the new capabilities included if found, else the given capabilitySet
createCapability
@Nullable
protected Capability createCapability(@NotNull
java.io.File content)
getExecutableName
@NotNull
protected abstract java.lang.String getExecutableName()
getCapabilityKey
@NotNull
protected abstract java.lang.String getCapabilityKey()
getEnvHome
@Nullable
protected java.lang.String getEnvHome()
getPosixHome
@Nullable
protected java.lang.String getPosixHome()
getValidityPredicate
@Nullable
protected com.google.common.base.Predicate<java.io.File> getValidityPredicate()
Copyright © 2012 Atlassian. All Rights Reserved.