com.atlassian.greenhopper.customfield.lexorank
Class LexoRankCFListener

java.lang.Object
  extended by com.atlassian.greenhopper.customfield.lexorank.LexoRankCFListener

@Service
public class LexoRankCFListener
extends java.lang.Object

This listener listens for the CustomFieldCreatedEvent. If the created custom field is of type LexoRankCFType, the LexoRankAO table is initialized for the custom field. The listener doesn't listen for CustomFieldDeletedEvent to delete the rank rows for the deleted custom field.

See Also:
LexoRankCFType#remove(com.atlassian.jira.issue.fields.CustomField)} for the custom field deletion logic

Field Summary
protected  LoggerWrapper log
           
 
Constructor Summary
LexoRankCFListener()
           
 
Method Summary
 void onCustomFieldCreated(com.atlassian.jira.event.issue.field.CustomFieldCreatedEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final LoggerWrapper log
Constructor Detail

LexoRankCFListener

public LexoRankCFListener()
Method Detail

onCustomFieldCreated

@EventListener
public void onCustomFieldCreated(com.atlassian.jira.event.issue.field.CustomFieldCreatedEvent event)


Copyright © 2007-2014 Atlassian. All Rights Reserved.