Interface CapabilityManager

All Known Implementing Classes:
CapabilityManagerImpl

public interface CapabilityManager
Interface to handle certain operations against the capability
  • 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

      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 -