public class DefaultPageNameConflictResolver extends Object implements PageNameConflictResolver
Modifier and Type | Field and Description |
---|---|
static int |
MAX_RETRY |
Constructor and Description |
---|
DefaultPageNameConflictResolver() |
DefaultPageNameConflictResolver(PageNameConflictResolver delegateConflictResolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
couldProvideNewName()
Indicates that this always provides a new name during the copy process, even for non-conflicting pages
|
int |
getMaxRetryNumber()
This is maximum number to retry saving page.
|
String |
resolveConflict(int currentRetryNumber,
String originalName)
Implements the name conflict resolution strategy
|
public static final int MAX_RETRY
public DefaultPageNameConflictResolver(PageNameConflictResolver delegateConflictResolver)
public DefaultPageNameConflictResolver()
public boolean couldProvideNewName()
PageNameConflictResolver
couldProvideNewName
in interface PageNameConflictResolver
public int getMaxRetryNumber()
PageNameConflictResolver
getMaxRetryNumber
in interface PageNameConflictResolver
public String resolveConflict(int currentRetryNumber, String originalName)
PageNameConflictResolver
resolveConflict
in interface PageNameConflictResolver
Copyright © 2003–2020 Atlassian. All rights reserved.