Package jetbrains.buildServer.serverSide
Class ResponsibilityInfoData
- java.lang.Object
-
- jetbrains.buildServer.serverSide.ResponsibilityInfoData
-
public class ResponsibilityInfoData extends Object
This class contains all necessary information to be sent via XmlRpc to remote client about TeamCity responsibility info
-
-
Constructor Summary
Constructors Constructor Description ResponsibilityInfoData(User user, String userComment, ResponsibilityEntry.State state, Date lastChangeDate, User reporterUser, ResponsibilityEntry.RemoveMethod removeMethod)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponsibilityInfoData
createOn(ResponsibilityEntry entry)
boolean
equals(Object o)
String
getComment()
ResponsibilityEntry.RemoveMethod
getRemoveMethod()
User
getReporterUser()
User
getResponsibleUser()
ResponsibilityEntry.State
getState()
Date
getTimestamp()
Returns the time of last change of state.int
hashCode()
-
-
-
Constructor Detail
-
ResponsibilityInfoData
public ResponsibilityInfoData(User user, String userComment, ResponsibilityEntry.State state, Date lastChangeDate, User reporterUser, ResponsibilityEntry.RemoveMethod removeMethod)
-
-
Method Detail
-
getState
public ResponsibilityEntry.State getState()
-
getResponsibleUser
public User getResponsibleUser()
-
getComment
public String getComment()
-
getTimestamp
public 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)
-
-