Interface ReadOnlyCapabilitySet
-
- All Known Subinterfaces:
CapabilitySet,EphemeralAgentTemplateCapabilitySet,ImageCapabilitySet
- All Known Implementing Classes:
CapabilitySetImpl,CombinedReadOnlyCapabilitySet,EphemeralAgentTemplateCapabilitySetImpl,ImageCapabilitySetImpl,LocalCapabilitySet,RemoteCapabilitySet
public interface ReadOnlyCapabilitySetAReadOnlyCapabilitySetis 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"ReadOnlyCapabilitySetfor a given agent. It combines theCapabilityScope.AGENTcapabilities with theCapabilityScope.SHAREDcapabilities, overriding as appropriate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Set<Capability>getCapabilities()Get all the capabilities as a set@Nullable CapabilitygetCapability(@NotNull String key)Get the capability with the given key
-
-
-
Method Detail
-
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:
-
-