public interface RefactoringTask extends Comparable
T-Plan Robot Enterprise, (C) 2009-2022 T-Plan Limited. All rights reserved.
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Carry out the update.
|
ScriptReferenceLocation |
getLocation()
Get the update location.
|
String |
getQuestion()
Get the question to display should the user wish to approve every single
update.
|
File |
getSource()
Get the source file (the original file before it was updated).
|
File |
getTarget()
Get the target file (where the source file returned by
getSource()
was moved or copied to). |
void |
setReplaceWithParent(boolean replaceWithParent)
Set the parent replacement mode.
|
compareTo
ScriptReferenceLocation getLocation()
String getQuestion()
"Update the
reference to the ABC image in the XYZ command?"
.boolean execute()
void setReplaceWithParent(boolean replaceWithParent)
replaceWithParent
- true will enable parent replacement, false disable.
The mode is by default disabled.File getSource()
File getTarget()
getSource()
was moved or copied to).