|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.profile.AbstractTableProfileCreator
public abstract class AbstractTableProfileCreator
Provides a template method for doProfile which alleviates the need to write boilerplate code for every profile creator implementation.
| Constructor Summary | |
|---|---|
AbstractTableProfileCreator()
|
|
| Method Summary | |
|---|---|
boolean |
doProfile(TableProfileResult tpr)
A generic template for populating a profile result. |
protected abstract boolean |
doProfileImpl(TableProfileResult tpr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTableProfileCreator()
| Method Detail |
|---|
public final boolean doProfile(TableProfileResult tpr)
#doProfileImpl()
to perform the actual work of populating this profile result.
This method will fire a profileStarted event before calling the subclass's doProfile, then fire a profileFinished event after doProfile exits (with or without success) unless this profile population has been cancelled, in which case it fires a profileCancelled event.
doProfile in interface TableProfileCreatortpr - The unpopulated profile result to populate.
protected abstract boolean doProfileImpl(TableProfileResult tpr)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||