Class AbstractCommand

java.lang.Object
com.redis.riot.core.BaseCommand
com.redis.riot.core.AbstractCommand
All Implemented Interfaces:
Callable<Integer>, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
AbstractJobCommand

public abstract class AbstractCommand extends BaseCommand implements org.springframework.beans.factory.InitializingBean, Callable<Integer>
  • Field Details

    • log

      protected org.slf4j.Logger log
  • Constructor Details

    • AbstractCommand

      public AbstractCommand()
  • Method Details

    • call

      public Integer call() throws Exception
      Specified by:
      call in interface Callable<Integer>
      Throws:
      Exception
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • execute

      protected abstract void execute()
    • getLoggingArgs

      public LoggingArgs getLoggingArgs()
    • setLoggingArgs

      public void setLoggingArgs(LoggingArgs args)
    • getLog

      public org.slf4j.Logger getLog()
    • setLog

      public void setLog(org.slf4j.Logger log)