Class AbstractProjectEvent

java.lang.Object
com.atlassian.jira.event.AbstractEvent
com.atlassian.jira.event.AbstractProjectEvent
All Implemented Interfaces:
JiraEvent, ProjectRelatedEvent
Direct Known Subclasses:
AbstractArchivingEvent, ProjectCreatedEvent, ProjectDeletedEvent, ProjectUpdatedEvent

@PublicApi public abstract class AbstractProjectEvent extends AbstractEvent implements ProjectRelatedEvent
Basic representation of something that happens to a Project, such as a modification. Event listeners register to receive these.
Since:
v6.1
  • Constructor Details

    • AbstractProjectEvent

      @Internal public AbstractProjectEvent(@Nullable ApplicationUser user, @Nonnull Project project)
  • Method Details

    • getProject

      @Nonnull public Project getProject()
      Specified by:
      getProject in interface ProjectRelatedEvent
    • getUser

      @Nullable public ApplicationUser getUser()
      Returns the user who initiated this event.
      Returns:
      the user who initiated this event.
    • equals

      public boolean equals(Object o)
      Note: this will not compare the time stamps of two events - only everything else.
      Overrides:
      equals in class AbstractEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractEvent