|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.v2.build.agent.capability.CombinedReadOnlyCapabilitySet
public class CombinedReadOnlyCapabilitySet
A combined "effective" capability set for an agent.
Combines the CapabilityScope.AGENT
's CapabilitySetImpl
with it's CapabilityScope.SHARED
CapabilitySetImpl
. The agent's capabilities will override the shared capabilities.
Constructor Summary | |
---|---|
CombinedReadOnlyCapabilitySet(CapabilitySet agentCapabilitySet,
CapabilitySet sharedCapabilitySet)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CombinedReadOnlyCapabilitySet(@NotNull CapabilitySet agentCapabilitySet, @NotNull CapabilitySet sharedCapabilitySet)
Method Detail |
---|
@Nullable public Capability getCapability(@NotNull java.lang.String key)
ReadOnlyCapabilitySet
getCapability
in interface ReadOnlyCapabilitySet
@NotNull public java.util.Set<Capability> getCapabilities()
ReadOnlyCapabilitySet
getCapabilities
in interface ReadOnlyCapabilitySet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |