public interface WorkerParameters extends VitamParameter<WorkerParameterName>
Modifier and Type | Method and Description |
---|---|
String |
getContainerName()
Get container name parameter
|
String |
getCurrentStep()
Get the current step parameter
|
LogbookTypeProcess |
getLogbookTypeProcess()
Get the logbook Type Process
|
String |
getMetadataRequest()
Get the metadata request parameter
|
String |
getObjectId()
Get the object id parameter
|
String |
getObjectName()
Get the object name parameter
|
List<String> |
getObjectNameList()
Get the object name parameter
|
String |
getParameterValue(WorkerParameterName parameterName)
Get the parameter according to the parameterName
|
String |
getPreviousStep()
Get the previous step parameter
|
String |
getProcessId()
Get the process id parameter
|
String |
getUrlMetadata()
Get the url of metadata resource parameter
|
String |
getUrlWorkspace()
Get the url of workspace resource parameter
|
String |
getWorkerGUID()
Get the worker GUID parameter
|
WorkerParameters |
putParameterValue(WorkerParameterName parameterName,
String parameterValue)
Put parameterValue on mapParameters with parameterName key
If parameterKey already exists, then override it (no check) |
WorkerParameters |
setContainerName(String containerName)
Set the container name value
|
WorkerParameters |
setCurrentStep(String currentStep)
Set the current step value
|
WorkerParameters |
setFromParameters(WorkerParameters parameters)
Set parameters from another WorkerParameters
|
WorkerParameters |
setLogbookTypeProcess(LogbookTypeProcess logbookTypeProcess)
Set the logbook Type Process
|
WorkerParameters |
setMap(Map<String,String> map)
Set from map using String as Key
|
WorkerParameters |
setMetadataRequest(String metadataRequest)
Set the request metadata request value
|
WorkerParameters |
setObjectId(String objectId)
Set the object id value
|
WorkerParameters |
setObjectName(String objectName)
Set the object name value
|
WorkerParameters |
setObjectNameList(List<String> objectNameList)
Set the object name value
|
WorkerParameters |
setPreviousStep(String previousStep)
Set the previous step value
|
WorkerParameters |
setProcessId(String processId)
Set the process id value
|
WorkerParameters |
setUrlMetadata(String urlMetadata)
Set the url of metadata resource value
|
WorkerParameters |
setUrlWorkspace(String urlWorkspace)
Set the url of workspace resource value
|
WorkerParameters |
setWorkerGUID(GUID workerGUID)
Set the worker GUID value
|
getMandatoriesParameters, getMapParameters
WorkerParameters putParameterValue(WorkerParameterName parameterName, String parameterValue)
parameterName
- the key of the parameter to put on the parameter mapparameterValue
- the value to put on the parameter mapIllegalArgumentException
- if the parameterName is null or if parameterValue is null or emptyString getParameterValue(WorkerParameterName parameterName)
parameterName
- the wanted parameterIllegalArgumentException
- throws if parameterName is nullWorkerParameters setMap(Map<String,String> map)
map
- the map parameters to setIllegalArgumentException
- if parameter key is unknown or if the map is nullString getCurrentStep()
WorkerParameters setCurrentStep(String currentStep)
currentStep
- the current step valueString getPreviousStep()
WorkerParameters setPreviousStep(String previousStep)
previousStep
- the current step valueIllegalArgumentException
- if the previousStep is null or emptyString getContainerName()
WorkerParameters setContainerName(String containerName)
containerName
- the container name valueIllegalArgumentException
- if the containerName is null or emptyString getObjectId()
WorkerParameters setObjectId(String objectId)
objectId
- the object id valueIllegalArgumentException
- if the objectId is null or emptyString getObjectName()
WorkerParameters setObjectName(String objectName)
objectName
- the object name valueIllegalArgumentException
- if the objectName is null or emptyList<String> getObjectNameList()
WorkerParameters setObjectNameList(List<String> objectNameList)
objectNameList
- the object name valueIllegalArgumentException
- if the objectName is null or emptyString getMetadataRequest()
WorkerParameters setMetadataRequest(String metadataRequest)
metadataRequest
- the metadata request valueIllegalArgumentException
- if metadataRequest is null or emptyString getWorkerGUID()
WorkerParameters setWorkerGUID(GUID workerGUID)
workerGUID
- the worker GUID valueIllegalArgumentException
- if workerGUID is null or emptyString getProcessId()
WorkerParameters setProcessId(String processId)
processId
- the process id valueIllegalArgumentException
- if processId is null or emptyString getUrlMetadata()
WorkerParameters setUrlMetadata(String urlMetadata)
urlMetadata
- the url of metadata resource valueIllegalArgumentException
- if urlMetadata is null or emptyString getUrlWorkspace()
WorkerParameters setUrlWorkspace(String urlWorkspace)
urlWorkspace
- the url of workspace resource valueIllegalArgumentException
- if urlWorspace is null or emptyLogbookTypeProcess getLogbookTypeProcess()
WorkerParameters setLogbookTypeProcess(LogbookTypeProcess logbookTypeProcess)
logbookTypeProcess
- the logbook Type ProcessIllegalArgumentException
- if urlWorspace is null or emptyWorkerParameters setFromParameters(WorkerParameters parameters)
parameters
- the parameters to setIllegalArgumentException
- if parameters is nullCopyright © 2018 Vitam. All rights reserved.