public interface ReadOnlyCapabilitySet
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.Modifier and Type | Method and Description |
---|---|
Set<Capability> |
getCapabilities()
Get all the capabilities as a set
|
Capability |
getCapability(String key)
Get the capability with the given key
|
@Nullable Capability getCapability(@NotNull String key)
key
- @NotNull Set<Capability> getCapabilities()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.