Interface ReadOnlyCapabilitySet
-
- All Known Subinterfaces:
CapabilitySet
,EphemeralAgentTemplateCapabilitySet
,ImageCapabilitySet
- All Known Implementing Classes:
CapabilitySetImpl
,CombinedReadOnlyCapabilitySet
,EphemeralAgentTemplateCapabilitySetImpl
,ImageCapabilitySetImpl
,LocalCapabilitySet
,RemoteCapabilitySet
public interface ReadOnlyCapabilitySet
AReadOnlyCapabilitySet
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 theCapabilityScope.AGENT
capabilities with theCapabilityScope.SHARED
capabilities, 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 Capability
getCapability(@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:
-
-