Interface ResponsibilityEntry
-
- All Known Subinterfaces:
BuildProblemResponsibilityEntry,BuildTypeResponsibilityEntry,TestNameResponsibilityEntry
- All Known Implementing Classes:
BuildProblemInvestigationImpl,BuildTypeResponsibilityEntryImpl,ResponsibilityEntryEx,ResponsibilityInfo,TestNameResponsibilityEntryImpl
public interface ResponsibilityEntryRepresents a single entry of responsibility, holds all the data associated with it.- Since:
- 5.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResponsibilityEntry.RemoveMethodRepresents the method how to remove responsibility.static classResponsibilityEntry.StateRepresents the state of responsibility.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetComment()A user comment of the last state change.ResponsibilityEntry.RemoveMethodgetRemoveMethod()Returns the remove method.UsergetReporterUser()Returns the user who did the action (assigned the responsibility, or marked as fixed on behalf of another person, etc).UsergetResponsibleUser()Returns the user who is assigned responsible.ResponsibilityEntry.StategetState()Returns the current state.DategetTimestamp()Returns the time of last change of state.
-
-
-
Method Detail
-
getState
@NotNull ResponsibilityEntry.State getState()
Returns the current state.- Returns:
- current state
-
getResponsibleUser
@NotNull User getResponsibleUser()
Returns the user who is assigned responsible.Before calling the client is expected to check the state is not
NONE, otherwise anIllegalStateExceptionis thrown.- Returns:
- responsible user
-
getReporterUser
@Nullable User getReporterUser()
Returns the user who did the action (assigned the responsibility, or marked as fixed on behalf of another person, etc).- Returns:
- the reporter (or null, if unknown)
-
getTimestamp
@NotNull Date getTimestamp()
Returns the time of last change of state.- Returns:
- the timestamp
-
getComment
@NotNull String getComment()
A user comment of the last state change.- Returns:
- the comment
-
getRemoveMethod
@NotNull ResponsibilityEntry.RemoveMethod getRemoveMethod()
Returns the remove method.- Returns:
- remove method
- Since:
- 7.1
-
-