jetbrains.buildServer.serverSide
Class ResponsibilityInfoData

java.lang.Object
  extended by jetbrains.buildServer.serverSide.ResponsibilityInfoData

public class ResponsibilityInfoData
extends java.lang.Object

This class contains all necessary information to be sent via XmlRpc to remote client about TeamCity responsibility info


Constructor Summary
ResponsibilityInfoData(User user, java.lang.String userComment, ResponsibilityEntry.State state, java.util.Date lastChangeDate, User reporterUser, ResponsibilityEntry.RemoveMethod removeMethod)
           
 
Method Summary
static ResponsibilityInfoData createOn(ResponsibilityEntry entry)
           
 java.lang.String getComment()
           
 ResponsibilityEntry.RemoveMethod getRemoveMethod()
           
 User getReporterUser()
           
 User getResponsibleUser()
           
 ResponsibilityEntry.State getState()
           
 java.util.Date getTimestamp()
          Returns the time of last change of state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponsibilityInfoData

public ResponsibilityInfoData(User user,
                              java.lang.String userComment,
                              ResponsibilityEntry.State state,
                              java.util.Date lastChangeDate,
                              User reporterUser,
                              ResponsibilityEntry.RemoveMethod removeMethod)
Method Detail

getState

public ResponsibilityEntry.State getState()

getResponsibleUser

public User getResponsibleUser()

getComment

public java.lang.String getComment()

getTimestamp

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

Returns:
see above

getReporterUser

public User getReporterUser()

getRemoveMethod

public ResponsibilityEntry.RemoveMethod getRemoveMethod()

createOn

public static ResponsibilityInfoData createOn(@NotNull
                                              ResponsibilityEntry entry)