public class RepositoryMovedException extends EntityMovedException
Constructor and Description |
---|
RepositoryMovedException(Repository repository,
String projectKey,
String slug,
KeyedMessage message) |
RepositoryMovedException(Repository repository,
String projectNamespace,
String projectKey,
String slug,
KeyedMessage message)
Deprecated.
in 7.18 for removal in 8.0. Use
RepositoryMovedException(Repository, String, String, KeyedMessage) instead. |
Modifier and Type | Method and Description |
---|---|
String |
getOldProjectKey() |
String |
getOldProjectNamespace()
Deprecated.
in 7.18 for removal without replacement in 8.0
|
String |
getOldSlug() |
Repository |
getRepository() |
getKeyedMessage, getLocalizedMessage, getMessageKey
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Deprecated public RepositoryMovedException(@Nonnull Repository repository, @Nullable String projectNamespace, @Nonnull String projectKey, @Nonnull String slug, @Nonnull KeyedMessage message)
RepositoryMovedException(Repository, String, String, KeyedMessage)
instead.public RepositoryMovedException(@Nonnull Repository repository, @Nonnull String projectKey, @Nonnull String slug, @Nonnull KeyedMessage message)
@Deprecated @Nullable public String getOldProjectNamespace()
@Nonnull public Repository getRepository()
Copyright © 2022 Atlassian. All rights reserved.