|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.core.AbstractActor
adams.flow.transformer.AbstractTransformer
adams.flow.transformer.AbstractInstanceGenerator<T>
T - the data container to processpublic abstract class AbstractInstanceGenerator<T extends DataContainer>
Ancestor for transformers that turn data containers into WEKA Instance objects.
| Field Summary | |
|---|---|
protected AbstractInstanceGenerator |
m_Generator
the generator to use. |
| Fields inherited from class adams.flow.transformer.AbstractTransformer |
|---|
BACKUP_INPUT, BACKUP_OUTPUT, m_InputToken, m_OutputToken |
| Fields inherited from class adams.flow.core.AbstractActor |
|---|
FILE_EXTENSION, FILE_EXTENSION_GZ, m_Annotations, m_BackupState, m_DetectedObjectVariables, m_DetectedVariables, m_ErrorHandler, m_Executed, m_FullName, m_Headless, m_Name, m_Parent, m_Root, m_Self, m_Skip, m_StopFlowOnError, m_StopMessage, m_Stopped, m_StorageHandler, m_VariablesUpdated |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AbstractInstanceGenerator()
|
|
| Method Summary | |
|---|---|
abstract Class[] |
accepts()
Returns the class that the consumer accepts. |
void |
defineOptions()
Adds options to the internal list of options. |
protected String |
doExecute()
Executes the flow item. |
Class[] |
generates()
Returns the class of objects that it generates. |
abstract String |
generatorTipText()
Returns the tip text for this property. |
protected abstract AbstractDatabaseConnection |
getDatabaseConnection()
Returns the database connection to use. |
protected abstract AbstractInstanceGenerator |
getDefaultGenerator()
Returns the default generator. |
AbstractInstanceGenerator |
getGenerator()
Returns the generator in use. |
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI. |
abstract String |
globalInfo()
Returns a string describing the object. |
void |
setGenerator(AbstractInstanceGenerator value)
Sets the generator to use. |
String |
setUp()
Initializes the item for flow execution. |
| Methods inherited from class adams.flow.transformer.AbstractTransformer |
|---|
backupState, execute, hasPendingOutput, input, output, postExecute, reset, restoreState, wrapUp |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debugLevelTipText, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AbstractInstanceGenerator m_Generator
| Constructor Detail |
|---|
public AbstractInstanceGenerator()
| Method Detail |
|---|
public abstract String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractActorprotected abstract AbstractInstanceGenerator getDefaultGenerator()
public void setGenerator(AbstractInstanceGenerator value)
value - the generatorpublic AbstractInstanceGenerator getGenerator()
public abstract String generatorTipText()
public String getQuickInfo()
getQuickInfo in interface QuickInfoSupportergetQuickInfo in class AbstractActorpublic abstract Class[] accepts()
public Class[] generates()
protected abstract AbstractDatabaseConnection getDatabaseConnection()
public String setUp()
setUp in class AbstractActorprotected String doExecute()
doExecute in class AbstractActor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||