|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.project.statistics.StatisticsUpdateEvent
Field Summary | |
static int |
CREATE_EVENT
|
static int |
DELETE_EVENT
|
static int |
MOVE_EVENT
|
static int |
UPDATE_EVENT
|
Method Summary | |
static StatisticsUpdateEvent |
buildCreate(GenericValue entity)
Build a new create event with a single entity. |
static StatisticsUpdateEvent |
buildDelete(GenericValue entity)
Build a new delete event with a single entity. |
static StatisticsUpdateEvent |
buildDelete(GenericValue entity,
GenericValue changeGroup)
Build a new delete event with a change group as we can not update and delete at the same time |
static StatisticsUpdateEvent |
buildMove(GenericValue newIssue,
GenericValue changeGroup)
Build a new move event with the updated issue, and the old issue. |
static StatisticsUpdateEvent |
buildUpdate(GenericValue issue,
GenericValue changeGroup)
Build a new update event with the updated issue and the change group for this update. |
boolean |
equals(java.lang.Object o)
|
GenericValue |
getEntity()
|
java.lang.String |
getEntityType()
|
java.lang.Object |
getParameter()
The parameter of this event is an object representing extra information that is useful to the statistics engine. |
int |
getType()
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CREATE_EVENT
public static final int DELETE_EVENT
public static final int MOVE_EVENT
public static final int UPDATE_EVENT
Method Detail |
public static StatisticsUpdateEvent buildCreate(GenericValue entity)
public static StatisticsUpdateEvent buildDelete(GenericValue entity)
public static StatisticsUpdateEvent buildDelete(GenericValue entity, GenericValue changeGroup)
entity
- changeGroup
-
public static StatisticsUpdateEvent buildMove(GenericValue newIssue, GenericValue changeGroup)
public static StatisticsUpdateEvent buildUpdate(GenericValue issue, GenericValue changeGroup)
public int getType()
public GenericValue getEntity()
public java.lang.String getEntityType()
public java.lang.Object getParameter()
public boolean equals(java.lang.Object o)
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |