Class AbstractProjectModificationEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.project.ProjectEvent
com.atlassian.bitbucket.event.project.AbstractProjectModificationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProjectModificationRequestedEvent
,ProjectModifiedEvent
Base class for constructing events which relate to project modifications.
ProjectEvent.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.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAbstractProjectModificationEvent
(Object source, Project project, Project oldValue, Project newValue) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Methods inherited from class com.atlassian.bitbucket.event.project.ProjectEvent
getProject
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
newValue
-
oldValue
-
-
Constructor Details
-
AbstractProjectModificationEvent
-
-
Method Details
-
getNewValue
-
getOldValue
-
isDescriptionChanged
public boolean isDescriptionChanged() -
isKeyChanged
public boolean isKeyChanged() -
isNameChanged
public boolean isNameChanged()
-