com.atlassian.jira.event
Class ProjectDeletedEvent

java.lang.Object
  extended by com.atlassian.jira.event.AbstractEvent
      extended by com.atlassian.jira.event.AbstractProjectEvent
          extended by com.atlassian.jira.event.ProjectDeletedEvent
All Implemented Interfaces:
JiraEvent, ProjectRelatedEvent

@PublicApi
public final class ProjectDeletedEvent
extends AbstractProjectEvent

Event that is triggered when a project is deleted.

Since:
v5.1

Field Summary
 
Fields inherited from class com.atlassian.jira.event.AbstractEvent
params, time
 
Constructor Summary
ProjectDeletedEvent(ApplicationUser user, Project oldProject)
           
 
Method Summary
 Long getId()
           
 String getKey()
           
 
Methods inherited from class com.atlassian.jira.event.AbstractProjectEvent
equals, getProject, getUser, hashCode
 
Methods inherited from class com.atlassian.jira.event.AbstractEvent
getParams, getTime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.event.JiraEvent
getParams, getTime
 

Constructor Detail

ProjectDeletedEvent

@Internal
public ProjectDeletedEvent(@Nullable
                                    ApplicationUser user,
                                    @Nonnull
                                    Project oldProject)
Method Detail

getId

@Nonnull
public Long getId()
Returns:
the project ID

getKey

@Nonnull
public String getKey()
Returns:
the project key


Copyright © 2002-2013 Atlassian. All Rights Reserved.