adams.flow.source
Class RSource
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.core.AbstractActor
adams.flow.source.AbstractSource
adams.flow.source.RSource
- All Implemented Interfaces:
- AdditionalInformationHandler, CleanUpHandler, Debuggable, DebugOutputHandler, Destroyable, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<AbstractActor>, SizeOfHandler, Stoppable, VariableChangeListener, ErrorHandler, OutputProducer, Serializable, Comparable
public class RSource
- extends AbstractSource
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class adams.flow.core.AbstractActor |
annotationsTipText, backupState, canInspectOptions, canPerformSetUpCheck, cleanUp, compareTo, debug, destroy, equals, execute, findVariables, findVariables, findVariables, forceVariables, forCommandLine, forName, getAdditionalInformation, getAnnotations, getDefaultName, getDetectedVariables, getErrorHandler, getFlowActors, getFullName, getName, getNextSibling, getParent, getPreviousSibling, getQuickInfo, getRoot, getSkip, getStopFlowOnError, getStopMessage, getStorageHandler, getVariables, handleError, hasErrorHandler, hasStopMessage, index, initialize, isBackedUp, isExecuted, isFinished, isHeadless, isStopped, nameTipText, performSetUpChecks, postExecute, preExecute, pruneBackup, pruneBackup, reset, restoreState, setAnnotations, setErrorHandler, setHeadless, setName, setParent, setSkip, setStopFlowOnError, setUp, setVariables, shallowCopy, shallowCopy, sizeOf, skipTipText, stopExecution, stopExecution, stopFlowOnErrorTipText, updateDetectedVariables, updatePrefix, updateVariables, variableChanged, wrapUp |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debugLevelTipText, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
m_rScript
protected String m_rScript
- Script to pass to r
m_returnType
protected RSource.DataType m_returnType
- Data type of object returned from r script
m_returnedObject
protected Object m_returnedObject
- Object returned from r
RSource
public RSource()
defineOptions
public void defineOptions()
- Specified by:
defineOptions in interface OptionHandler- Overrides:
defineOptions in class AbstractActor
setReturnType
public void setReturnType(RSource.DataType val)
getReturnType
public RSource.DataType getReturnType()
returnTypeTipText
public String returnTypeTipText()
setRScript
public void setRScript(String val)
getRScript
public String getRScript()
rScriptTipText
public String rScriptTipText()
generates
public Class[] generates()
output
public Token output()
hasPendingOutput
public boolean hasPendingOutput()
doExecute
protected String doExecute()
- Specified by:
doExecute in class AbstractActor
globalInfo
public String globalInfo()
- Specified by:
globalInfo in class AbstractOptionHandler
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.