Class WorkerTask
- java.lang.Object
-
- fr.gouv.vitam.processing.distributor.core.WorkerTask
-
- All Implemented Interfaces:
java.util.function.Supplier<WorkerTaskResult>
public class WorkerTask extends java.lang.Object implements java.util.function.Supplier<WorkerTaskResult>
-
-
Constructor Summary
Constructors Constructor Description WorkerTask(DescriptionStep descriptionStep, int tenantId, java.lang.String requestId, java.lang.String contractId, java.lang.String contextId, java.lang.String applicationId, WorkerClientFactory workerClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkerTaskResult
get()
java.util.List<java.lang.String>
getObjectNameList()
java.lang.String
getRequestId()
Step
getStep()
java.lang.String
getTaskId()
-
-
-
Constructor Detail
-
WorkerTask
public WorkerTask(DescriptionStep descriptionStep, int tenantId, java.lang.String requestId, java.lang.String contractId, java.lang.String contextId, java.lang.String applicationId, WorkerClientFactory workerClientFactory)
-
-
Method Detail
-
get
public WorkerTaskResult get()
- Specified by:
get
in interfacejava.util.function.Supplier<WorkerTaskResult>
-
getStep
public Step getStep()
-
getObjectNameList
public java.util.List<java.lang.String> getObjectNameList()
-
getTaskId
public java.lang.String getTaskId()
-
getRequestId
public java.lang.String getRequestId()
-
-