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
  • 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 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 @Nullable Capability createCapability(@NotNull @NotNull File content)
    • getExecutableName

      @NotNull protected abstract @NotNull String getExecutableName()
    • getCapabilityKey

      @NotNull protected abstract @NotNull String getCapabilityKey()
    • getEnvHome

      @Nullable protected @Nullable String getEnvHome()
    • getPosixHomes

      @NotNull protected @NotNull List<String> getPosixHomes()
    • getPosixHome

      @Deprecated @Nullable protected @Nullable String getPosixHome()
      Deprecated.
      since 6.5 use getPosixHomes()
    • getValidityPredicate

      @Nullable protected @Nullable Predicate<File> getValidityPredicate()