Interface IssueEx

  • All Superinterfaces:
    Issue
    All Known Implementing Classes:
    IssueWrapper

    public interface IssueEx
    extends Issue
    Since:
    5.0
    Author:
    Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
    • Method Detail

      • getFetchError

        @NotNull
        String getFetchError()
        Returns the fetch error for the case when TeamCity failed to retrieve the issue.
        Returns:
        fetch error
        Since:
        7.1
        See Also:
        getFetchStatus()
      • getIssueDataOrNull

        @Nullable
        IssueData getIssueDataOrNull()
        Returns the issue data for this issue, or null if no data can be fetched due to some error.
        Returns:
        the issue data, or null
        Since:
        7.1
        See Also:
        getFetchError()
      • getProvider

        @NotNull
        IssueProviderEx getProvider()
        Returns the reference on a provider that provided this issue.
        Specified by:
        getProvider in interface Issue
        Returns:
        a corresponding provider
      • setProvider

        void setProvider​(@NotNull
                         IssueProviderEx provider)
        Sets the reference on a corresponding provider.
        Parameters:
        provider - a corresponding provider
      • getRelatedModification

        @Nullable
        VcsModification getRelatedModification()
        Returns the modification that this issue is related to.
        Returns:
        a corresponding modification, or null
      • setRelatedModification

        void setRelatedModification​(@NotNull
                                    VcsModification modification)
        Sets the modification that this issue is related to.
        Parameters:
        modification - a related modification
      • isFixedByRelatedModification

        boolean isFixedByRelatedModification()
        Returns whether if this issue has been fixed by a related modification.
        Returns:
        true if this issue has been fixed by a related modification
        See Also:
        getRelatedModification()
      • setIssuesManager

        void setIssuesManager​(@NotNull
                              IssuesManager issuesManager)
        Sets the issues manager.
        Parameters:
        issuesManager - issues manager