Class 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
    • Constructor Detail

      • PassThrough

        public PassThrough()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.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 class AbstractRedisAction
        Returns:
        the classes
      • generates

        public Class generates()
        Returns the classes the action generates as output.
        Specified by:
        generates in class AbstractRedisAction
        Returns:
        the classes
      • doExecute

        protected Object doExecute​(RedisConnection connection,
                                   Object o,
                                   adams.core.MessageCollection errors)
        Performs the action.
        Specified by:
        doExecute in class AbstractRedisAction
        Parameters:
        connection - the Redis connection
        o - the object to process
        errors - for collecting errors
        Returns:
        the generated object