Package com.atlassian.bitbucket.home
Class AbstractHomeUpdateHandler
java.lang.Object
com.atlassian.bitbucket.home.AbstractHomeUpdateHandler
- All Implemented Interfaces:
HomeUpdateHandler
Provides a base class for implementing
HomeUpdateHandler
s.
Even if the implementation is going to provide a rollback
implementation, it is still
encouraged to extend from this base class. Doing so makes implementations more resilient to changes in the interface
for HomeUpdateHandler
, increasing their compatibility with different versions of the system.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
rollback
(HomeUpdate update) Provides a default no-op implementation to facilitate building handlers with no explicit rollback mechanism.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bitbucket.home.HomeUpdateHandler
apply
-
Constructor Details
-
AbstractHomeUpdateHandler
public AbstractHomeUpdateHandler()
-
-
Method Details
-
rollback
Provides a default no-op implementation to facilitate building handlers with no explicit rollback mechanism.- Specified by:
rollback
in interfaceHomeUpdateHandler
- Parameters:
update
- ignored
-