Class AbstractStepListener

  • All Implemented Interfaces:
    StepListener

    public abstract class AbstractStepListener
    extends java.lang.Object
    implements StepListener
    The AbstractStepListener provides default implementations of less commonly implemented methods.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterStep()
      Override this method if the StepListener will do something after the step ends.
      void beforeStep()
      Override this method if the StepListener will do something before the step begins.
      • Methods inherited from class java.lang.Object

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

      • AbstractStepListener

        public AbstractStepListener()
    • Method Detail

      • beforeStep

        public void beforeStep()
                        throws java.lang.Exception
        Override this method if the StepListener will do something before the step begins. The default implementation does nothing.
        Specified by:
        beforeStep in interface StepListener
        Throws:
        java.lang.Exception - (or subclass) if an error occurs.
      • afterStep

        public void afterStep()
                       throws java.lang.Exception
        Override this method if the StepListener will do something after the step ends. The default implementation does nothing.
        Specified by:
        afterStep in interface StepListener
        Throws:
        java.lang.Exception - (or subclass) if an error occurs.