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
HomeUpdateHandlers.
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrollback(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, waitMethods 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:
rollbackin interfaceHomeUpdateHandler- Parameters:
update- ignored
-