Package fr.gouv.vitam.processing.distributor.core

# Class WorkerTask

java.lang.Object
fr.gouv.vitam.processing.distributor.core.WorkerTask

All Implemented Interfaces:
  `Supplier<WorkerTaskResult>`

public class WorkerTask extends Object implements Supplier<WorkerTaskResult>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WorkerTask(DescriptionStep descriptionStep, int tenantId, String requestId, String contractId, String contextId, String applicationId, WorkerClientFactory workerClientFactory)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `WorkerTaskResult`
  `get()`
  `List<String>`
  `getObjectNameList()`
  `String`
  `getRequestId()`
  `Step`
  `getStep()`
  `String`
  `getTaskId()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### WorkerTask

    public WorkerTask(DescriptionStep descriptionStep, int tenantId, String requestId, String contractId, String contextId, String applicationId, WorkerClientFactory workerClientFactory)

- ## Method Details

  - ### get

    public WorkerTaskResult get()
    Specified by:
      `get` in interface `Supplier<WorkerTaskResult>`

  - ### getStep

    public Step getStep()

  - ### getObjectNameList

    public List<String> getObjectNameList()

  - ### getTaskId

    public String getTaskId()

  - ### getRequestId

    public String getRequestId()