com.atlassian.jira.user
Class UserHistoryItem.Type
java.lang.Object
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
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
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.