java.lang.Object
org.openprovenance.prov.template.expander.meta.BatchExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialise(FileInputStream fileInputStream) intintexecute(TemplateTasksBatch templateTasksBatch, String inputBasedir, String outputBasedir, Map<String, String> variableMap) voidexecuteExpandTask(TemplateTasksBatch templateTasksBatch, TemplateTasksBatch.ConfigTask task, Map<String, String> variableMap) voidexecuteMergeTask(TemplateTasksBatch templateTasksBatch, TemplateTasksBatch.ConfigTask task, Map<String, String> variableMap) voidstatic TemplateTasksBatchstatic voidvoidserialize(OutputStream fileOutputStream, String format, Document doc, boolean b)
-
Constructor Details
-
BatchExecutor
public BatchExecutor()
-
-
Method Details
-
initializeSerializerDispatcher
public void initializeSerializerDispatcher() -
load
public static TemplateTasksBatch load(String configurationPath, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
execute
-
execute
public int execute(TemplateTasksBatch templateTasksBatch, String inputBasedir, String outputBasedir, Map<String, String> variableMap) throws IOException- Throws:
IOException
-
executeExpandTask
public void executeExpandTask(TemplateTasksBatch templateTasksBatch, TemplateTasksBatch.ConfigTask task, Map<String, String> variableMap) throws IOException- Throws:
IOException
-
executeMergeTask
public void executeMergeTask(TemplateTasksBatch templateTasksBatch, TemplateTasksBatch.ConfigTask task, Map<String, String> variableMap) throws IOException- Throws:
IOException
-
deserialise
-
serialize
-
main
-