Class RunnableWithName

  • All Implemented Interfaces:
    java.lang.Runnable

    public abstract class RunnableWithName
    extends java.lang.Object
    implements java.lang.Runnable
    Since:
    3.6
    Author:
    Eike Stepper
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void doRun()  
      abstract java.lang.String getName()  
      void run()  
      • Methods inherited from class java.lang.Object

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

      • RunnableWithName

        public RunnableWithName()
    • Method Detail

      • run

        public final void run()
        Specified by:
        run in interface java.lang.Runnable
      • getName

        public abstract java.lang.String getName()
      • doRun

        protected abstract void doRun()