public final class RefactoringElementsBag extends Object
| Modifier and Type | Method and Description |
|---|---|
Problem |
add(AbstractRefactoring refactoring,
RefactoringElementImplementation el)
Adds RefactoringElementImplementation to this bag.
|
Problem |
addAll(AbstractRefactoring refactoring,
Collection<RefactoringElementImplementation> elements)
Adds all RefactringElements from given Collection using #add method
|
Problem |
addFileChange(AbstractRefactoring refactoring,
RefactoringElementImplementation el)
fileChanges are performed after all element changes
|
RefactoringSession |
getSession() |
void |
registerTransaction(Transaction commit)
commits are called after all changes are performed
|
public Problem add(AbstractRefactoring refactoring, RefactoringElementImplementation el)
refactoring - refactoring, which adds this RefactoringElementImplementationel - element to addpublic Problem addAll(AbstractRefactoring refactoring, Collection<RefactoringElementImplementation> elements)
refactoring - refactoring, which adds this RefactoringElementelements - Collection of RefactoringElementspublic RefactoringSession getSession()
public void registerTransaction(Transaction commit)
commit - Transaction to commitTransaction,
BackupFacilitypublic Problem addFileChange(AbstractRefactoring refactoring, RefactoringElementImplementation el)
changes - changes to be performedTransaction,
BackupFacilityBuilt on May 16 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.