com.atlassian.bamboo.brokenbuildtracker.data
Class TrackingResponsibility

java.lang.Object
  extended by com.atlassian.bamboo.brokenbuildtracker.data.TrackingResponsibility
All Implemented Interfaces:
Comparable<TrackingResponsibility>

public class TrackingResponsibility
extends Object
implements Comparable<TrackingResponsibility>

This class holds the name of the user responsible for the breakage and the name of the user who assigned the breakage to him/her.


Constructor Summary
TrackingResponsibility(String userName, String userWhoAssigned)
           
 
Method Summary
 int compareTo(TrackingResponsibility o)
           
 boolean equals(Object o)
           
 String getUserName()
           
 String getUserWhoAssigned()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackingResponsibility

public TrackingResponsibility(@NotNull
                              String userName,
                              @Nullable
                              String userWhoAssigned)
Method Detail

getUserName

@NotNull
public String getUserName()

getUserWhoAssigned

@Nullable
public String getUserWhoAssigned()

compareTo

public int compareTo(TrackingResponsibility o)
Specified by:
compareTo in interface Comparable<TrackingResponsibility>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.