jetbrains.buildServer.responsibility
Interface ResponsibilityEntry

All Known Subinterfaces:
BuildTypeResponsibilityEntry, TestNameResponsibilityEntry
All Known Implementing Classes:
BuildTypeResponsibilityEntryImpl, ResponsibilityInfo, TestNameResponsibilityEntryImpl

public interface ResponsibilityEntry

Represents 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
static class ResponsibilityEntry.State
          Represents the state of responsibility.
 
Method Summary
 java.lang.String getComment()
          A user comment of the last state change.
 User getReporterUser()
          Returns the user who assigned the responsibility.
 User getResponsibleUser()
          Returns the user who is assigned responsible.
 ResponsibilityEntry.State getState()
          Returns the current state.
 java.util.Date getTimestamp()
          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.

Returns:
responsible user

getReporterUser

@Nullable
User getReporterUser()
Returns the user who assigned the responsibility.

Returns:
the reporter (or null, if unknown)

getTimestamp

@NotNull
java.util.Date getTimestamp()
Returns the time of last change of state.

Returns:
the timestamp

getComment

@NotNull
java.lang.String getComment()
A user comment of the last state change.

Returns:
the comment