Interface ProjectAwareRootUrlResolver

    • Method Detail

      • getRootUrlByProjectExternalId

        @NotNull
        String getRootUrlByProjectExternalId​(@Nullable
                                             String externalProjectId)
        Returns project-based URL if it's configured for the project. If not (or externalProjectId is null) - returns global server URL, if it's exist. If not - returns default value.
      • getRootUrlByProjectInternalId

        @NotNull
        String getRootUrlByProjectInternalId​(@Nullable
                                             String internalProjectId)
        Returns project-based URL by project internal id if it's configured for the project. If not (or internalProjectId is null) - returns global server URL, if it's exist. If not - returns default value.
      • getRootUrlByBuildTypeExternalId

        @NotNull
        String getRootUrlByBuildTypeExternalId​(@Nullable
                                               String buildTypeExternalId)
        Returns project-based URL using external buildType id for determining the project. If buildTypeExternalId is null or the project doesn't exist or it's not configured with url property - returns global server URL, if it's exist. If not - returns default value.
      • getRootUrlByBuildTypeInternalId

        @NotNull
        String getRootUrlByBuildTypeInternalId​(@Nullable
                                               String buildTypeInternalId)
        Returns project-based URL using internal buildType id for determining the project. If buildTypeInternalId is null or the project doesn't exist or it's not configured with url property - returns global server URL, if it's exist. If not - returns default value.
      • getRootUrlByBuildTypeTemplateExternalId

        @NotNull
        String getRootUrlByBuildTypeTemplateExternalId​(@Nullable
                                                       String extTemplateId)
        Returns project-based URL using external build type template id for determining the project If extTemplateId is null or the project doesn't exist or it's not configured with url property - returns global server URL, if it's exist. If not - returns default value.