Package com.atlassian.bamboo.capability
Class CapabilityManagerImpl
java.lang.Object
com.atlassian.bamboo.capability.CapabilityManagerImpl
- All Implemented Interfaces:
CapabilityManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
removeCapabilities
(@NotNull Long agentId, @NotNull Collection<String> capabilityKeys) Removes capabilities from an agentvoid
removeCapability
(@NotNull Long agentId, @NotNull String capabilityKey) Removes a the capability from an agentvoid
renameCapability
(@NotNull CapabilityType capabilityType, @NotNull String oldCapabilityKey, @NotNull String newCapabilityLabel, boolean override) Renames capability keyvoid
setCapabilityDao
(CapabilityDao capabilityDao) void
setCapabilitySetManager
(CapabilitySetManager capabilitySetManager)
-
Constructor Details
-
CapabilityManagerImpl
public CapabilityManagerImpl()
-
-
Method Details
-
renameCapability
public void renameCapability(@NotNull @NotNull CapabilityType capabilityType, @NotNull @NotNull String oldCapabilityKey, @NotNull @NotNull String newCapabilityLabel, boolean override) Description copied from interface:CapabilityManager
Renames capability key- Specified by:
renameCapability
in interfaceCapabilityManager
-
removeCapability
public void removeCapability(@NotNull @NotNull Long agentId, @NotNull @NotNull String capabilityKey) Description copied from interface:CapabilityManager
Removes a the capability from an agent- Specified by:
removeCapability
in interfaceCapabilityManager
-
removeCapabilities
public void removeCapabilities(@NotNull @NotNull Long agentId, @NotNull @NotNull Collection<String> capabilityKeys) Description copied from interface:CapabilityManager
Removes capabilities from an agent- Specified by:
removeCapabilities
in interfaceCapabilityManager
-
setCapabilityDao
-
setCapabilitySetManager
-