Package com.atlassian.bamboo.capability
Interface CapabilityDao
- All Superinterfaces:
BambooObjectDao<Capability>
- All Known Implementing Classes:
CapabilityDaoImpl
-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<Capability>
findCapabilitiesMatchingPrefix
(@NotNull String capabilityKeyPrefix) getAgentIdsFromKey
(@NotNull String capabilityKey) @NotNull List<CapabilityAgentMapping>
getCapabilitiesFromKey
(@NotNull String capabilityKey) @Nullable Capability
getCapability
(@NotNull Long capabilityId) @NotNull List<CapabilityElasticImageMapping>
getElasticImageCapabilitiesFromKey
(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region, @NotNull String capabilityKey) getEphemeralAgentTemplateCapabilitiesFromKey
(@NotNull String capabilityKey) @NotNull List<Pair<Requirement,
PlanKey>> getImmutablePlansKeysByRequirementKey
(@NotNull String requirementKey) @NotNull List<RequirementPlanMapping>
getRequirementsFromKey
(@NotNull String requirementKey) void
removeCapability
(@NotNull Long capabilityId) void
updateCapability
(@NotNull Long capabilityId, @NotNull String value) Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Method Details
-
getCapability
-
removeCapability
-
updateCapability
-
getCapabilitiesFromKey
@NotNull @NotNull List<CapabilityAgentMapping> getCapabilitiesFromKey(@NotNull @NotNull String capabilityKey) -
getElasticImageCapabilitiesFromKey
@NotNull @NotNull List<CapabilityElasticImageMapping> getElasticImageCapabilitiesFromKey(@NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region, @NotNull @NotNull String capabilityKey) -
getEphemeralAgentTemplateCapabilitiesFromKey
List<CapabilityEphemeralAgentTemplateMapping> getEphemeralAgentTemplateCapabilitiesFromKey(@NotNull @NotNull String capabilityKey) -
getAgentIdsFromKey
-
getRequirementsFromKey
@NotNull @NotNull List<RequirementPlanMapping> getRequirementsFromKey(@NotNull @NotNull String requirementKey) -
getImmutablePlansKeysByRequirementKey
@NotNull @NotNull List<Pair<Requirement,PlanKey>> getImmutablePlansKeysByRequirementKey(@NotNull @NotNull String requirementKey) -
findCapabilitiesMatchingPrefix
@NotNull @NotNull Collection<Capability> findCapabilitiesMatchingPrefix(@NotNull @NotNull String capabilityKeyPrefix)
-