Enum WorkerParameterName
- java.lang.Object
-
- java.lang.Enum<WorkerParameterName>
-
- fr.gouv.vitam.processing.common.parameter.WorkerParameterName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WorkerParameterName>
public enum WorkerParameterName extends java.lang.Enum<WorkerParameterName>
Enum with all possible worker parameters
Use to set parameter value and to check emptiness nullity
-
-
Enum Constant Summary
Enum Constants Enum Constant Description auditActions
the array of the different audit actions there are three types of action: "check existence" , "check integrity", "correction"auditType
Type of the audit to be processedcontainerName
Name of the container to be uploadedcurrentStep
Current name of the step to be processedendDate
End operation datehashRoot
hash of rootingestOperationIdToCleanup
Ingest operation id to clean uplifecycleTraceabilityMaxEntries
Max event count to select during a single logbook lifecycle traceability workflow.lifecycleTraceabilityTemporizationDelayInSeconds
Temporization delay (in seconds) for recent logbook lifecycle eventslogbookRequest
Request to be executed by the logbook modulelogBookTypeProcess
The LogbookTypeProcess value used in logbookOperationmetadataRequest
Request to be executed by the metadata module (not used for now, except in test classes)mustLogAccessOnObject
Boolean that indicate for Export DIP workflow if the access to an object must be (or not) loggedobjectId
Id of the object to be processed (not used, except in test classes)objectMetadata
Name/metadata of the object to be processedobjectMetadataList
List Name/metadata of the object to be processedobjectName
Name/path of the object to be processedobjectNameList
List Name/path of the object to be processedpreviousStep
Previous name of the step processedprocessId
Unique id (GUID) of the workflow to be executedrequestId
Request identifier.startDate
Start operation datestepUniqId
Unique id of a step.urlMetadata
Url of metadata resourcesurlWorkspace
Url of workspace resourcesworkerGUID
Id of the worker (GUID) (not used for now, except in test classes)workflowIdentifier
Workflow identifier (used also as eventType)workflowStatusKo
If Current Workflow status is greater or equal ko, contains the status
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.HashSet<java.lang.String>
getEnums()
static WorkerParameterName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WorkerParameterName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
urlMetadata
public static final WorkerParameterName urlMetadata
Url of metadata resources
-
urlWorkspace
public static final WorkerParameterName urlWorkspace
Url of workspace resources
-
processId
public static final WorkerParameterName processId
Unique id (GUID) of the workflow to be executed
-
stepUniqId
public static final WorkerParameterName stepUniqId
Unique id of a step. The pattern of the id is : {CONTAINER_NAME}_{WORKFLOW_ID}_{STEP_RANK_IN_THE_WORKFLOW}_{STEP_NAME}
-
containerName
public static final WorkerParameterName containerName
Name of the container to be uploaded
-
objectName
public static final WorkerParameterName objectName
Name/path of the object to be processed
-
objectMetadata
public static final WorkerParameterName objectMetadata
Name/metadata of the object to be processed
-
objectNameList
public static final WorkerParameterName objectNameList
List Name/path of the object to be processed
-
objectMetadataList
public static final WorkerParameterName objectMetadataList
List Name/metadata of the object to be processed
-
objectId
public static final WorkerParameterName objectId
Id of the object to be processed (not used, except in test classes)
-
auditType
public static final WorkerParameterName auditType
Type of the audit to be processed
-
workerGUID
public static final WorkerParameterName workerGUID
Id of the worker (GUID) (not used for now, except in test classes)
-
metadataRequest
public static final WorkerParameterName metadataRequest
Request to be executed by the metadata module (not used for now, except in test classes)
-
currentStep
public static final WorkerParameterName currentStep
Current name of the step to be processed
-
previousStep
public static final WorkerParameterName previousStep
Previous name of the step processed
-
workflowStatusKo
public static final WorkerParameterName workflowStatusKo
If Current Workflow status is greater or equal ko, contains the status
-
logBookTypeProcess
public static final WorkerParameterName logBookTypeProcess
The LogbookTypeProcess value used in logbookOperation
-
logbookRequest
public static final WorkerParameterName logbookRequest
Request to be executed by the logbook module
-
startDate
public static final WorkerParameterName startDate
Start operation date
-
endDate
public static final WorkerParameterName endDate
End operation date
-
hashRoot
public static final WorkerParameterName hashRoot
hash of root
-
auditActions
public static final WorkerParameterName auditActions
the array of the different audit actions there are three types of action: "check existence" , "check integrity", "correction"
-
requestId
public static final WorkerParameterName requestId
Request identifier.
-
lifecycleTraceabilityTemporizationDelayInSeconds
public static final WorkerParameterName lifecycleTraceabilityTemporizationDelayInSeconds
Temporization delay (in seconds) for recent logbook lifecycle events
-
lifecycleTraceabilityMaxEntries
public static final WorkerParameterName lifecycleTraceabilityMaxEntries
Max event count to select during a single logbook lifecycle traceability workflow.
-
mustLogAccessOnObject
public static final WorkerParameterName mustLogAccessOnObject
Boolean that indicate for Export DIP workflow if the access to an object must be (or not) logged
-
workflowIdentifier
public static final WorkerParameterName workflowIdentifier
Workflow identifier (used also as eventType)
-
ingestOperationIdToCleanup
public static final WorkerParameterName ingestOperationIdToCleanup
Ingest operation id to clean up
-
-
Method Detail
-
values
public static WorkerParameterName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WorkerParameterName c : WorkerParameterName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkerParameterName valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getEnums
public static java.util.HashSet<java.lang.String> getEnums()
-
-