public class ReorgExecutionLog
extends java.lang.Object
This class is not intended to be subclassed by clients.
| Constructor and Description |
|---|
ReorgExecutionLog()
Creates new reorg execution log
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNewName(java.lang.Object element)
Returns the new name of the element.
|
java.lang.Object[] |
getProcessedElements()
Returns all processed elements
|
java.lang.Object[] |
getRenamedElements()
Returns all elements which got renamed during the
reorg refactoring
|
boolean |
isCanceled()
Returns
true if the reorg refactoring got
canceled; otherwise false |
boolean |
isProcessed(java.lang.Object element)
Returns
true if the specified element has been processed;
otherwise false |
boolean |
isRenamed(java.lang.Object element)
Returns
true if the specified element has been renamed;
otherwise false |
void |
markAsCanceled()
Logs that the reorg refactoring got canceled by the
user.
|
void |
markAsProcessed(java.lang.Object element)
Logs that the given element got processed by the
refactoring
|
void |
setNewName(java.lang.Object element,
java.lang.String newName)
Logs that the element got renamed to
newName
by the reorg refactoring. |
public void markAsCanceled()
public boolean isCanceled()
true if the reorg refactoring got
canceled; otherwise falsepublic boolean isProcessed(java.lang.Object element)
true if the specified element has been processed;
otherwise falseelement - the element to testpublic boolean isRenamed(java.lang.Object element)
true if the specified element has been renamed;
otherwise falseelement - the element to testpublic void markAsProcessed(java.lang.Object element)
element - the element that got processedpublic java.lang.Object[] getProcessedElements()
public void setNewName(java.lang.Object element,
java.lang.String newName)
newName
by the reorg refactoring.element - the element which got renamednewName - the new name of the elementpublic java.lang.Object[] getRenamedElements()
public java.lang.String getNewName(java.lang.Object element)
null if the element didn't get renamed.element - the element for which the new name is
requestednull
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.