Package adams.flow.source.pyrosource
Class Generic
-
- All Implemented Interfaces:
CleanUpHandler
,Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,QuickInfoSupporter
,SizeOfHandler
,FlowContextHandler
,PyroCall
,PyroOutputProducer
,Serializable
public class Generic extends AbstractPyroSource
Generic call, just retrieves any data from the remote object.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.flow.source.pyrosource.AbstractPyroSource
m_Output
-
Fields inherited from class adams.flow.core.AbstractPyroCall
m_FlowContext, m_MethodName, m_NameServer, m_RemoteObject, m_RemoteObjectName
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Generic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doExecute()
Performs the actual call.Class[]
generates()
Returns the class of objects that it generates.String
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.flow.source.pyrosource.AbstractPyroSource
cleanUp, hasPendingOutput, output, preExecute
-
Methods inherited from class adams.flow.core.AbstractPyroCall
defineOptions, execute, getDefaultMethodName, getDefaultRemoteObjectName, getFlowContext, getMethodName, getQuickInfo, getRemoteObjectName, methodNameTipText, postExecute, remoteObjectNameTipText, reset, setFlowContext, setMethodName, setRemoteObjectName, setUp
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.flow.core.FlowContextHandler
getFlowContext, setFlowContext
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.flow.core.PyroCall
execute, getMethodName, getRemoteObjectName, methodNameTipText, remoteObjectNameTipText, setMethodName, setRemoteObjectName, setUp
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
generates
public Class[] generates()
Returns the class of objects that it generates.- Returns:
- the classes of the generated objects
-
doExecute
protected String doExecute()
Performs the actual call.- Specified by:
doExecute
in classAbstractPyroCall
- Returns:
- null if successful, otherwise error message
-
-