|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CapabilitySet
Method Summary | |
---|---|
void |
addCapability(Capability capability)
Add a capability to the set. |
void |
addCapability(Capability capability,
boolean overwrite)
Adds a capability. |
CapabilityScope |
getCapabilityScope()
The scope of the capability set. |
java.lang.String |
getCapabilitySetType()
Returns the identifier describing the type of this capability. |
java.lang.String |
getSharedCapabilitySetType()
Returns the identifier for the set if it is shared. |
void |
removeCapability(java.lang.String key)
Remove a capability from the set, by the key. |
void |
setCapabilities(java.util.Set<Capability> capabilities)
|
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.capability.ReadOnlyCapabilitySet |
---|
getCapabilities, getCapability |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
getId, setId |
Method Detail |
---|
void addCapability(@NotNull Capability capability)
capability
- void addCapability(@NotNull Capability capability, boolean overwrite)
capability
- overwrite
- void removeCapability(@NotNull java.lang.String key)
key
- void setCapabilities(java.util.Set<Capability> capabilities)
@NotNull CapabilityScope getCapabilityScope()
CapabilityScope.AGENT
- only applies to one agent.
or CapabilityScope.SHARED
- shared across all local, or all remote agents.
CapabilityScope
@Nullable java.lang.String getSharedCapabilitySetType()
@Nullable java.lang.String getCapabilitySetType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |