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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
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
void removeCapability(@NotNull @NotNull Long agentId, @NotNull @NotNull String capabilityKey)
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
-
-
-