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 |
---|---|
@NotNull CapabilitySet |
addDefaultCapabilities(@NotNull CapabilitySet capabilitySet)
Adds default Capabilities for this module.
|
protected @Nullable Capability |
createCapability(@NotNull File content) |
protected abstract @NotNull String |
getCapabilityKey() |
protected @Nullable String |
getEnvHome() |
protected abstract @NotNull String |
getExecutableName() |
protected @Nullable String |
getPosixHome()
Deprecated.
since 6.5 use
getPosixHomes() |
protected @NotNull List<String> |
getPosixHomes() |
protected @Nullable com.google.common.base.Predicate<File> |
getValidityPredicate() |
public AbstractFileCapabilityDefaultsHelper()
@NotNull public @NotNull CapabilitySet addDefaultCapabilities(@NotNull @NotNull CapabilitySet capabilitySet)
CapabilityDefaultsHelper
addDefaultCapabilities
in interface CapabilityDefaultsHelper
capabilitySet
- to add the capability to@Nullable protected @Nullable Capability createCapability(@NotNull @NotNull File content)
@NotNull protected abstract @NotNull String getExecutableName()
@NotNull protected abstract @NotNull String getCapabilityKey()
@Nullable protected @Nullable String getEnvHome()
@Deprecated @Nullable protected @Nullable String getPosixHome()
getPosixHomes()
@Nullable protected @Nullable com.google.common.base.Predicate<File> getValidityPredicate()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.