public static class

UserHistoryItem.Type

extends Object
implements Serializable
java.lang.Object
   ↳ com.atlassian.jira.user.UserHistoryItem.Type

Summary

Public Constructors
Type(String name)
Create a new Type.
Public Methods
boolean equals(Object obj)
static UserHistoryItem.Type getInstance(String name)
Get a Type.
String getName()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Type (String name)

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

Parameters
name Type name

Public Methods

public boolean equals (Object obj)

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

public String getName ()

public int hashCode ()

public String toString ()