Interface UIConfigSupport

  • All Known Implementing Classes:
    UIConfigSupportImpl

    @PublicApi
    public interface UIConfigSupport
    Support for components providing configuration UI.
    Since:
    3.3
    • Method Detail

      • getCurrentPlanCount

        int getCurrentPlanCount()
      • getAllowedNumberOfPlans

        int getAllowedNumberOfPlans()
      • getExistingProjectsCount

        int getExistingProjectsCount()
      • getExistingProjectsForPlanCreation

        @NotNull
        @NotNull Collection<Project> getExistingProjectsForPlanCreation()
      • getFirstProjectKey

        @Nullable
        @Nullable String getFirstProjectKey()
      • getFirstProjectKeyForPlanCreation

        @Nullable
        @Nullable String getFirstProjectKeyForPlanCreation()
      • getDeploymentTriggerBranchSelectionOptions

        @NotNull
        @NotNull Map<String,​String> getDeploymentTriggerBranchSelectionOptions()
      • getRepositories

        @Deprecated
        @NotNull
        @NotNull List<Repository> getRepositories()
        Deprecated.
        since 5.14 without replacement
      • getExecutableLabelTypeMap

        @Deprecated
        @NotNull
        @NotNull Map<String,​String> getExecutableLabelTypeMap()
        Deprecated.
        since 8.0 labels are not unique across different executable types. Use {getExecutableLabelTypesMap()} instead.
        Returns:
        All executables registered in the system (sorted by the label).
      • getExecutableLabelTypesMap

        @NotNull
        @NotNull com.google.common.collect.Multimap<String,​String> getExecutableLabelTypesMap()
        Returns:
        All executables registered in the system (sorted by the label).
      • getExecutableLabelTypeMap

        @NotNull
        @NotNull Map<String,​String> getExecutableLabelTypeMap​(@NotNull
                                                                    @NotNull String... shortKey)
        Returns:
        All executables with the given short key registered in the system (sorted by the label).
      • getCapabilityKeyToLabelMap

        @NotNull
        @NotNull Map<String,​String> getCapabilityKeyToLabelMap​(@NotNull
                                                                     @NotNull String... executableType)
      • getExecutableLabels

        @NotNull
        @NotNull List<String> getExecutableLabels​(@NotNull
                                                  @NotNull String shortKey)
      • getPollingTypes

        @Deprecated
        List<Pair<String,​String>> getPollingTypes()
        Deprecated.
        since 8.2 without replacement. This method exposes implementation details of cron trigger plugin.
      • getPollingTypeName

        @Deprecated
        @NotNull
        @NotNull String getPollingTypeName​(@NotNull
                                           @NotNull String pollingTypeKey)
        Deprecated.
        since 8.2 without replacement. This method exposes implementation details of cron trigger plugin.
      • getJdkLabels

        @NotNull
        @NotNull List<String> getJdkLabels()
      • isJdkLabelValid

        boolean isJdkLabelValid​(@Nullable
                                @Nullable String label)
      • getDefaultJdkLabel

        String getDefaultJdkLabel()
      • getAvailableGroups

        @NotNull
        @NotNull List<com.atlassian.user.Group> getAvailableGroups()
      • getAvailableUserNames

        @NotNull
        @NotNull List<String> getAvailableUserNames()