Package com.atlassian.jira.user
Class UserHistoryItem.Type
java.lang.Object
com.atlassian.jira.user.UserHistoryItem.Type
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UserHistoryItem
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static UserHistoryItem.Type
getInstance
(String name) Get a Type.getName()
int
hashCode()
toString()
-
Constructor Details
-
Type
Create a new Type. This really should be made private but that would break API compatibility. Prefer the use ofgetInstance(String name)
instead.- Parameters:
name
- Type name
-
-
Method Details
-
getInstance
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
-
hashCode
public int hashCode() -
equals
-
toString
-