org.prorefactor.refactor
Interface IRefactor

All Known Implementing Classes:
RenameSchema.Changer, TFNamesRefactor

public interface IRefactor

Interface to a Refactor object. Useful for general purpose lint-and-refactor wrappers.


Method Summary
 int run(RefactorTarget target, int scanNum)
          Run the refactor for a given Target and a given scan.
 

Method Detail

run

int run(RefactorTarget target,
        int scanNum)
Run the refactor for a given Target and a given scan.

Returns:
Must return 1 for a successful change, negative number for an error. Zero and integers >1 currently have no special meaning.


Copyright © 2008 Joanju Software. All Rights Reserved.