Class AbstractFileCapabilityDefaultsHelper

    • Constructor Detail

      • AbstractFileCapabilityDefaultsHelper

        public AbstractFileCapabilityDefaultsHelper()
    • Method Detail

      • 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()
      • getValidityPredicate

        @Nullable
        protected @Nullable com.google.common.base.Predicate<File> getValidityPredicate()