Interface CapabilityDao

    • Method Detail

      • 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)
      • getElasticImageCapabilitiesFromKey

        @NotNull
        @NotNull List<CapabilityElasticImageMapping> getElasticImageCapabilitiesFromKey​(@NotNull
                                                                                        com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region,
                                                                                        @NotNull
                                                                                        @NotNull String capabilityKey)
      • getAgentIdsFromKey

        @NotNull
        @NotNull List<Long> getAgentIdsFromKey​(@NotNull
                                               @NotNull String capabilityKey)
      • getImmutablePlansKeysByRequirementKey

        @NotNull
        @NotNull List<Pair<Requirement,​PlanKey>> getImmutablePlansKeysByRequirementKey​(@NotNull
                                                                                             @NotNull String requirementKey)
      • findCapabilitiesMatchingPrefix

        @NotNull
        @NotNull Collection<Capability> findCapabilitiesMatchingPrefix​(@NotNull
                                                                       @NotNull String capabilityKeyPrefix)