Class ProcessPopulator
java.lang.Object
fr.gouv.vitam.processing.management.core.ProcessPopulator
Temporary process populator
find and populates workflow java object
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
loadWorkflow
(Map<String, WorkFlow> poolWorkflows) loadWorkflow, find and load all workflowspopulate
(InputStream workflowFileStream) populate, create workflow object (parse JSON file)static void
reloadWorkflow
(Map<String, WorkFlow> poolWorkflows, Long fromDate) reloadWorkflow, find and load new (added) workflow objects
-
Method Details
-
loadWorkflow
loadWorkflow, find and load all workflows- Parameters:
poolWorkflows
- map to populate with workflows
-
reloadWorkflow
reloadWorkflow, find and load new (added) workflow objects- Parameters:
poolWorkflows
- poolWorkflows map of workflows to updatefromDate
- datetime on milliseconds to filter from, if null no filter is applied
-
populate
populate, create workflow object (parse JSON file)- Parameters:
workflowFileStream
- the workflow file (path)- Returns:
- workflow's object
-
populate
-