Interface SVcsRootEx

    • Method Detail

      • unregister

        void unregister()
        Removes VCS root from project model but does not removes any configuration files from disk
      • getLastConfigModificationAction

        @Nullable
        AuditLogAction getLastConfigModificationAction()
      • getBranchSpec

        @Nullable
        BranchSpec getBranchSpec​(@NotNull
                                 ValueResolver valueResolver)
        Returns branch specification if it is defined in VCS root and can be fully resolved. If branch spec is not defined or cannot be fully resolved returns null.
        Parameters:
        valueResolver - value resolver to use
        Returns:
        see above
      • isBranchSpecDefined

        boolean isBranchSpecDefined​(@NotNull
                                    ValueResolver valueResolver)
        Returns true if after the properties resolution this VCS root has not empty branch specification
        Parameters:
        valueResolver -
        Returns:
      • isEmptyUuid

        boolean isEmptyUuid()
        Returns:
        true if this root has an empty uuid in its config on disk
      • isAliasExternalId

        boolean isAliasExternalId​(@NotNull
                                  String extId)
        Returns:
        true if the provided external id is an alias for the current external id of this VCS root
        Since:
        2021.1
      • sendExtIdChangedEvents

        void sendExtIdChangedEvents​(@NotNull
                                    ConfigAction cause,
                                    @NotNull
                                    String oldExtId,
                                    @NotNull
                                    String newExtId)
        Sends external id changed event.
        Parameters:
        cause -
        oldExtId -
        newExtId -