Class AbstractBatchlet

  • All Implemented Interfaces:
    Batchlet

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

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.lang.String process()
      Implement process logic for the Batchlet in this method.
      void stop()
      Override this method if the Batchlet will end in response to the JobOperator.stop() operation.
      • Methods inherited from class java.lang.Object

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

      • AbstractBatchlet

        public AbstractBatchlet()
    • Method Detail

      • process

        public abstract java.lang.String process()
                                          throws java.lang.Exception
        Implement process logic for the Batchlet in this method.
        Specified by:
        process in interface Batchlet
        Returns:
        exit status string
        Throws:
        java.lang.Exception - (or subclass) if an error occurs.
      • stop

        public void stop()
                  throws java.lang.Exception
        Override this method if the Batchlet will end in response to the JobOperator.stop() operation. The default implementation does nothing.
        Specified by:
        stop in interface Batchlet
        Throws:
        java.lang.Exception - (or subclass) if an error occurs.