Package com.atlassian.bamboo.capability
Interface CapabilityManager
- All Known Implementing Classes:
CapabilityManagerImpl
public interface CapabilityManager
Interface to handle certain operations against the capability
-
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 key
-
Method Details
-
renameCapability
void renameCapability(@NotNull @NotNull CapabilityType capabilityType, @NotNull @NotNull String oldCapabilityKey, @NotNull @NotNull String newCapabilityLabel, boolean override) Renames capability key- Parameters:
capabilityType
-oldCapabilityKey
-newCapabilityLabel
-override
-
-
removeCapability
Removes a the capability from an agent- Parameters:
agentId
-capabilityKey
-
-
removeCapabilities
void removeCapabilities(@NotNull @NotNull Long agentId, @NotNull @NotNull Collection<String> capabilityKeys) Removes capabilities from an agent- Parameters:
agentId
-capabilityKeys
-
-