public interface CapabilityDao extends BambooObjectDao<Capability>
Modifier and Type | Method and Description |
---|---|
Collection<Capability> |
findCapabilitiesMatchingPrefix(String capabilityKeyPrefix) |
List<Long> |
getAgentIdsFromKey(String capabilityKey) |
List<CapabilityAgentMapping> |
getCapabilitiesFromKey(String capabilityKey) |
Capability |
getCapability(Long capabilityId) |
List<CapabilityElasticImageMapping> |
getElasticImageCapabilitiesFromKey(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region,
String capabilityKey) |
List<RequirementPlanMapping> |
getRequirementsFromKey(String requirementKey) |
void |
removeCapability(Long capabilityId) |
void |
updateCapability(Long capabilityId,
String value) |
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
@Nullable Capability getCapability(@NotNull Long capabilityId)
void removeCapability(@NotNull Long capabilityId)
@NotNull List<CapabilityAgentMapping> getCapabilitiesFromKey(@NotNull String capabilityKey)
@NotNull List<CapabilityElasticImageMapping> getElasticImageCapabilitiesFromKey(@NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region, @NotNull String capabilityKey)
@NotNull List<RequirementPlanMapping> getRequirementsFromKey(@NotNull String requirementKey)
@NotNull Collection<Capability> findCapabilitiesMatchingPrefix(@NotNull String capabilityKeyPrefix)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.