public class FindAndReplaceNameConflictResolver extends Object implements PageNameConflictResolver
Constructor and Description |
---|
FindAndReplaceNameConflictResolver(String searchString,
String replaceString) |
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 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–2017 Atlassian. All rights reserved.