public interface

HomeUpdate

com.atlassian.stash.home.HomeUpdate

Class Overview

Describes the old and new absolute paths for the home directory.

Note: It is possible that the operating system has been changed between the two paths. This means, for example, that the old path could be a Windows path, like C:\Stash\Home while the new path is a Unix path, like /var/data/stash/home.

Summary

Public Methods
@Nonnull String getNewDir()
The absolute path to where the home directory currently is.
@Nonnull String getOldDir()
The absolute path to where the home directory used to be.

Public Methods

@Nonnull public String getNewDir ()

The absolute path to where the home directory currently is.

Returns
  • the current home directory

@Nonnull public String getOldDir ()

The absolute path to where the home directory used to be.

Returns
  • the previous home directory