public class ReorgExecutionLog extends 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 |
---|---|
String |
getNewName(Object element)
Returns the new name of the element.
|
Object[] |
getProcessedElements()
Returns all processed elements
|
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(Object element)
Returns
true if the specified element has been processed;
otherwise false |
boolean |
isRenamed(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(Object element)
Logs that the given element got processed by the
refactoring
|
void |
setNewName(Object element,
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 false
public boolean isProcessed(Object element)
true
if the specified element has been processed;
otherwise false
element
- the element to testpublic boolean isRenamed(Object element)
true
if the specified element has been renamed;
otherwise false
element
- the element to testpublic void markAsProcessed(Object element)
element
- the element that got processedpublic Object[] getProcessedElements()
public void setNewName(Object element, String newName)
newName
by the reorg refactoring.element
- the element which got renamednewName
- the new name of the elementpublic Object[] getRenamedElements()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.