Interface ReadOnlyCapabilitySet

All Known Subinterfaces:
CapabilitySet, EphemeralAgentTemplateCapabilitySet, ImageCapabilitySet
All Known Implementing Classes:
CapabilitySetImpl, CombinedReadOnlyCapabilitySet, EphemeralAgentTemplateCapabilitySetImpl, ImageCapabilitySetImpl, LocalCapabilitySet, RemoteCapabilitySet

public interface ReadOnlyCapabilitySet
A ReadOnlyCapabilitySet is a non editable read only capability set. It is used by the build agent/builders as a read-only source of resource (Builder path/JDK) properties. The specific implementation com.atlassian.bamboo.v2.build.agent.capability.CombinedReadOnlyCapabilitySet, represents an "effective" ReadOnlyCapabilitySet for a given agent. It combines the CapabilityScope.AGENT capabilities with the CapabilityScope.SHARED capabilities, overriding as appropriate.
  • Method Details

    • getCapability

      @Nullable @Nullable Capability getCapability(@NotNull @NotNull String key)
      Get the capability with the given key
      Parameters:
      key -
      Returns:
    • getCapabilities

      @NotNull @NotNull Set<Capability> getCapabilities()
      Get all the capabilities as a set
      Returns: