| java.lang.Object |
| ↳ |
com.atlassian.stash.home.AbstractHomeUpdateHandler |
Class Overview
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.
Summary
| Public Methods |
|
void
|
rollback(HomeUpdate update)
Provides a default no-op implementation to facilitate building handlers with no explicit rollback mechanism.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.stash.home.HomeUpdateHandler
|
void
|
apply(HomeUpdate update)
Applies whatever changes are necessary to replace references to the old shared home directory location with
references to the new one.
|
|
void
|
rollback(HomeUpdate update)
Rolls back the applied changes, restoring references to the old shared home directory
location.
|
|
Public Constructors
public
AbstractHomeUpdateHandler
()
Public Methods
public
void
rollback
(HomeUpdate update)
Provides a default no-op implementation to facilitate building handlers with no explicit rollback mechanism.