Class AbstractExecutionBody<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T execute()
      You can override this method if you want to have a result.
      void executeWithoutResult()
      You can override this method if you do not need a result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractExecutionBody

        public AbstractExecutionBody()
    • Method Detail

      • execute

        public T execute()
        You can override this method if you want to have a result.
        Returns:
        the return value of your desire
      • executeWithoutResult

        public void executeWithoutResult()
        You can override this method if you do not need a result.