public abstract class AbstractFileCapabilityDefaultsHelper extends Object implements CapabilityDefaultsHelper
CAPABILITY_AGENT_ENVIRONMENT_PREFIX, CAPABILITY_BUILDER_PREFIX, CAPABILITY_BUILDER_TYPE| Constructor and Description |
|---|
AbstractFileCapabilityDefaultsHelper() |
| Modifier and Type | Method and Description |
|---|---|
CapabilitySet |
addDefaultCapabilities(CapabilitySet capabilitySet)
Adds default Capabilities for this module.
|
protected Capability |
createCapability(File content) |
protected abstract String |
getCapabilityKey() |
protected String |
getEnvHome() |
protected abstract String |
getExecutableName() |
protected String |
getPosixHome()
Deprecated.
since 6.5 use
getPosixHomes() |
protected List<String> |
getPosixHomes() |
protected com.google.common.base.Predicate<File> |
getValidityPredicate() |
public AbstractFileCapabilityDefaultsHelper()
@NotNull public CapabilitySet addDefaultCapabilities(@NotNull CapabilitySet capabilitySet)
CapabilityDefaultsHelperaddDefaultCapabilities in interface CapabilityDefaultsHelpercapabilitySet - to add the capability to@Nullable protected Capability createCapability(@NotNull File content)
@NotNull protected abstract String getExecutableName()
@NotNull protected abstract String getCapabilityKey()
@Nullable protected String getEnvHome()
@Deprecated @Nullable protected String getPosixHome()
getPosixHomes()@Nullable protected com.google.common.base.Predicate<File> getValidityPredicate()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.