Class PassThrough
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.redisaction.AbstractRedisAction
-
- adams.flow.transformer.redisaction.PassThrough
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.QuickInfoSupporter
,adams.core.SizeOfHandler
,adams.core.Stoppable
,adams.core.StoppableWithFeedback
,adams.flow.core.FlowContextHandler
,Serializable
public class PassThrough extends AbstractRedisAction
Just passes through the object, no Redis interaction.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.flow.transformer.redisaction.AbstractRedisAction
m_FlowContext, m_Stopped
-
-
Constructor Summary
Constructors Constructor Description PassThrough()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]
accepts()
Returns the classes the action accepts as input.protected Object
doExecute(RedisConnection connection, Object o, adams.core.MessageCollection errors)
Performs the action.Class
generates()
Returns the classes the action generates as output.String
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.flow.transformer.redisaction.AbstractRedisAction
check, execute, getFlowContext, getQuickInfo, initialize, isStopped, setFlowContext, stopExecution
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
accepts
public Class[] accepts()
Returns the classes the action accepts as input.- Specified by:
accepts
in classAbstractRedisAction
- Returns:
- the classes
-
generates
public Class generates()
Returns the classes the action generates as output.- Specified by:
generates
in classAbstractRedisAction
- Returns:
- the classes
-
doExecute
protected Object doExecute(RedisConnection connection, Object o, adams.core.MessageCollection errors)
Performs the action.- Specified by:
doExecute
in classAbstractRedisAction
- Parameters:
connection
- the Redis connectiono
- the object to processerrors
- for collecting errors- Returns:
- the generated object
-
-