Class InitializationTask

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Void>

    public final class InitializationTask
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Void>
    Initialization task notifying the current lifecycle InitStatusListener.
    Since:
    14125
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
      private java.lang.Runnable task  
    • Constructor Summary

      Constructors 
      Constructor Description
      InitializationTask​(java.lang.String name, java.lang.Runnable task)
      Constructs a new InitializationTask.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Void call()  
      • Methods inherited from class java.lang.Object

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

      • name

        private final java.lang.String name
      • task

        private final java.lang.Runnable task
    • Constructor Detail

      • InitializationTask

        public InitializationTask​(java.lang.String name,
                                  java.lang.Runnable task)
        Constructs a new InitializationTask.
        Parameters:
        name - translated name to be displayed to user
        task - runnable initialization task
    • Method Detail

      • call

        public java.lang.Void call()
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Void>