com.atlassian.jira.user
Class UserHistoryItem.Type

java.lang.Object
  extended by com.atlassian.jira.user.UserHistoryItem.Type
All Implemented Interfaces:
Serializable
Enclosing class:
UserHistoryItem

public static class UserHistoryItem.Type
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
UserHistoryItem.Type(String name)
          Create a new Type.
 
Method Summary
 boolean equals(Object obj)
           
static UserHistoryItem.Type getInstance(String name)
          Get a Type.
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserHistoryItem.Type

public UserHistoryItem.Type(String name)
Create a new Type. This really should be made private but that would break API compatability. Prefer the use of getInstance(String name) instead.

Parameters:
name - Type name
Method Detail

getInstance

public static UserHistoryItem.Type getInstance(String name)
Get a Type. This will retrieve one of the well known types if it exists. Otherwise we just creat one dynamically. Plugin developers should create a single (static) instance of any types they require and reuse them if possible.

Parameters:
name - Type name
Returns:
a Type

getName

public String getName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.