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 classIssueEx.FetchStatusRepresents the fetch status.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFetchError()Returns the fetch error for the case when TeamCity failed to retrieve the issue.IssueEx.FetchStatusgetFetchStatus()Returns the fetch status of the issue.IssueDatagetIssueDataOrNull()Returns the issue data for this issue, ornullif no data can be fetched due to some error.IssueProviderExgetProvider()Returns the reference on a provider that provided this issue.VcsModificationgetRelatedModification()Returns the modification that this issue is related to.booleanisFixedByRelatedModification()Returns whether if this issue has been fixed by a related modification.voidsetIssuesManager(IssuesManager issuesManager)Sets the issues manager.voidsetProvider(IssueProviderEx provider)Sets the reference on a corresponding provider.voidsetRelatedModification(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, ornullif 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:
getProviderin 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
-
-