Package adams.flow.sink.redisaction
Class Null
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.sink.redisaction.AbstractRedisAction
-
- adams.flow.sink.redisaction.Null
-
- 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,Serializable
public class Null extends AbstractRedisAction
Dummy, does nothing.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Null()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]accepts()Returns the classes the action accepts as input.protected StringdoExecute(RedisConnection connection, Object o)Performs the action on the specified object.StringglobalInfo()Returns a string describing the object.-
Methods inherited from class adams.flow.sink.redisaction.AbstractRedisAction
check, execute, getQuickInfo
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, 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:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin 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:
acceptsin classAbstractRedisAction- Returns:
- the classes
-
doExecute
protected String doExecute(RedisConnection connection, Object o)
Performs the action on the specified object.- Specified by:
doExecutein classAbstractRedisAction- Parameters:
connection- the Redis connectiono- the object to process- Returns:
- null if successful, otherwise error message
-
-