com.atlassian.bamboo.capability
Interface CapabilityManager

All Known Implementing Classes:
CapabilityManagerImpl

public interface CapabilityManager

Interface to handle certain operations against the capability


Method Summary
 void removeCapability(java.lang.Long agentId, java.lang.String capabilityKey)
          Removes a the capability from an agent
 void renameCapability(CapabilityType capabilityType, java.lang.String oldCapabilityKey, java.lang.String newCapabilityLabel, boolean override)
          Renames capability key
 

Method Detail

renameCapability

void renameCapability(@NotNull
                      CapabilityType capabilityType,
                      @NotNull
                      java.lang.String oldCapabilityKey,
                      @NotNull
                      java.lang.String newCapabilityLabel,
                      boolean override)
Renames capability key

Parameters:
capabilityType -
oldCapabilityKey -
newCapabilityLabel -
override -

removeCapability

void removeCapability(@NotNull
                      java.lang.Long agentId,
                      @NotNull
                      java.lang.String capabilityKey)
Removes a the capability from an agent

Parameters:
agentId -
capabilityKey -


Copyright © 2012 Atlassian. All Rights Reserved.