Class AbstractBmTask<T>

    • Constructor Detail

      • AbstractBmTask

        protected AbstractBmTask​(String name)
        Constructor.
        Parameters:
        name - The name of the task. May not be null.
      • AbstractBmTask

        protected AbstractBmTask​(String name,
                                 Object id,
                                 Object serviceId)
        Constructor.
        Parameters:
        name - The name of the task. May not be null.
        id - The ID of the task. May be null.
        serviceId - The ID of the service. May be null.
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: IBmTask
        Gets the localized name of the task to be displayed on the UI, logs, etc.
        Specified by:
        getName in interface IBmTask<T>
        Returns:
        the name of the task, never null.
      • getId

        public final Object getId()
        Description copied from interface: IBmTask
        Gets the ID of the task.
        Specified by:
        getId in interface IBmTask<T>
        Returns:
        the ID of the task or null.
      • getServiceId

        public final Object getServiceId()
        Description copied from interface: IBmTask
        Gets the ID of the service executing this task.
        Specified by:
        getServiceId in interface IBmTask<T>
        Returns:
        the ID of the service or null.