public class

AbstractProjectModificationEvent

extends ProjectEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.ProjectEvent
         ↳ com.atlassian.stash.event.AbstractProjectModificationEvent
Known Direct Subclasses

Class Overview

Base class for constructing events which relate to project modifications.

getProject() always returns the current persisted state for the project. Whether that matches the old values or the new values depends on the specific event, and will be documented on the derived event class.

Summary

Fields
protected final Project newValue
protected final Project oldValue
[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
AbstractProjectModificationEvent(Object source, Project project, Project oldValue, Project newValue)
Public Methods
@Nonnull Project getNewValue()
@Nonnull Project getOldValue()
boolean isDescriptionChanged()
boolean isKeyChanged()
boolean isNameChanged()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.ProjectEvent
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object

Fields

protected final Project newValue

protected final Project oldValue

Public Constructors

public AbstractProjectModificationEvent (Object source, Project project, Project oldValue, Project newValue)

Public Methods

@Nonnull public Project getNewValue ()

@Nonnull public Project getOldValue ()

public boolean isDescriptionChanged ()

public boolean isKeyChanged ()

public boolean isNameChanged ()