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 Summary
Modifier and TypeMethodDescription@NotNull Set<Capability>Get all the capabilities as a set@Nullable CapabilitygetCapability(@NotNull String key) Get the capability with the given key
-
Method Details
-
getCapability
Get the capability with the given key- Parameters:
key-- Returns:
-
getCapabilities
Get all the capabilities as a set- Returns:
-