|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prorefactor.refactor.noundo.NoundoWrap
public class NoundoWrap
Wraps the various NO-UNDO refactor pieces into a single function call.
Field Summary | |
---|---|
boolean |
overwrite
Overwrite files that already exist? Default is "true". |
Constructor Summary | |
---|---|
NoundoWrap(java.lang.String outputDir)
Constructor requires the name of the output directory. |
Method Summary | |
---|---|
java.lang.String |
run(int topHandle)
Run the NO-UNDO refactor. |
java.lang.String |
run(java.lang.String filename)
Run the NO-UNDO refactor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean overwrite
Constructor Detail |
---|
public NoundoWrap(java.lang.String outputDir)
Method Detail |
---|
public java.lang.String run(java.lang.String filename)
filename
- The compile unit to parse and refactor all parts of.
public java.lang.String run(int topHandle)
topnode
- The handle to the syntax tree top node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |