Interface IBmTask<T>

    • Method Detail

      • getName

        String getName()
        Gets the localized name of the task to be displayed on the UI, logs, etc.
        the name of the task, never null.
      • getId

        Object getId()
        Gets the ID of the task.
        the ID of the task or null.
      • getServiceId

        Object getServiceId()
        Gets the ID of the service executing this task.
        the ID of the service or null.
      • execute

        T execute​(IBmTransaction transaction,
                  org.eclipse.core.runtime.IProgressMonitor progressMonitor)

        The method called by the task executor with an active transaction. The method code must not commit or rollback the transaction.

        If the task is not supposed to return a result, then it may be parameterized with Void and return null.

        transaction - The active transaction. May not be null.
        progressMonitor - The monitor to indicate the progress. May not be null.
        execution result, may be null.