Interface CapabilityDao

All Superinterfaces:
BambooObjectDao<Capability>
All Known Implementing Classes:
CapabilityDaoImpl

public interface CapabilityDao extends BambooObjectDao<Capability>
  • Method Details

    • getCapability

      @Nullable @Nullable Capability getCapability(@NotNull @NotNull Long capabilityId)
    • removeCapability

      void removeCapability(@NotNull @NotNull Long capabilityId)
    • updateCapability

      void updateCapability(@NotNull @NotNull Long capabilityId, @NotNull @NotNull String value)
    • 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

      @NotNull @NotNull List<Long> getAgentIdsFromKey(@NotNull @NotNull String capabilityKey)
    • 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)