com.atlassian.bamboo.v2.build.agent.capability
Interface ReadOnlyCapabilitySet

All Known Subinterfaces:
CapabilitySet, ImageCapabilitySet
All Known Implementing Classes:
CapabilitySetImpl, CombinedReadOnlyCapabilitySet, 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 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
 java.util.Set<Capability> getCapabilities()
          Get all the capabilities as a set
 Capability getCapability(java.lang.String key)
          Get the capability with the given key
 

Method Detail

getCapability

@Nullable
Capability getCapability(@NotNull
                                  java.lang.String key)
Get the capability with the given key

Parameters:
key -
Returns:

getCapabilities

@NotNull
java.util.Set<Capability> getCapabilities()
Get all the capabilities as a set

Returns:


Copyright © 2011 Atlassian. All Rights Reserved.