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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IssueEx.FetchStatus
Represents the fetch status.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFetchError()
Returns the fetch error for the case when TeamCity failed to retrieve the issue.IssueEx.FetchStatus
getFetchStatus()
Returns the fetch status of the issue.IssueData
getIssueDataOrNull()
Returns the issue data for this issue, ornull
if no data can be fetched due to some error.IssueProviderEx
getProvider()
Returns the reference on a provider that provided this issue.VcsModification
getRelatedModification()
Returns the modification that this issue is related to.boolean
isFixedByRelatedModification()
Returns whether if this issue has been fixed by a related modification.void
setIssuesManager(IssuesManager issuesManager)
Sets the issues manager.void
setProvider(IssueProviderEx provider)
Sets the reference on a corresponding provider.void
setRelatedModification(VcsModification modification)
Sets the modification that this issue is related to.-
Methods inherited from interface jetbrains.buildServer.issueTracker.Issue
getAllFields, getId, getPriority, getSeverity, getState, getSummary, getType, getUrl, isFeatureRequest, isResolved
-
-
-
-
Method Detail
-
getFetchStatus
@NotNull IssueEx.FetchStatus getFetchStatus()
Returns the fetch status of the issue.- Returns:
- fetch status
- Since:
- 7.1
- See Also:
IssueEx.FetchStatus
-
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, ornull
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 interfaceIssue
- 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
-
-