public class CapabilityManagerImpl extends Object implements CapabilityManager
Constructor and Description |
---|
CapabilityManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
removeCapabilities(Long agentId,
Collection<String> capabilityKeys)
Removes capabilities from an agent
|
void |
removeCapability(Long agentId,
String capabilityKey)
Removes a the capability from an agent
|
void |
renameCapability(CapabilityType capabilityType,
String oldCapabilityKey,
String newCapabilityLabel,
boolean override)
Renames capability key
|
void |
setCapabilityDao(CapabilityDao capabilityDao) |
void |
setCapabilitySetManager(CapabilitySetManager capabilitySetManager) |
public void renameCapability(@NotNull CapabilityType capabilityType, @NotNull String oldCapabilityKey, @NotNull String newCapabilityLabel, boolean override)
CapabilityManager
renameCapability
in interface CapabilityManager
public void removeCapability(@NotNull Long agentId, @NotNull String capabilityKey)
CapabilityManager
removeCapability
in interface CapabilityManager
public void removeCapabilities(@NotNull Long agentId, @NotNull Collection<String> capabilityKeys)
CapabilityManager
removeCapabilities
in interface CapabilityManager
public void setCapabilityDao(CapabilityDao capabilityDao)
public void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.