public class TaskMessagePublisher extends Object
| Constructor and Description |
|---|
TaskMessagePublisher() |
| Modifier and Type | Method and Description |
|---|---|
static void |
publishTaskMessagesForDirectory(String documentInputDirectory,
Long workflowId,
String projectId,
String sentDocumentsDirectory)
Constructs and publishes policy worker task messages for files in provided directory.
|
static ExecutorService |
publishTaskMessagesForDirectoryAndMonitor(String documentInputDirectory,
Long workflowId,
String projectId,
String sentDocumentsDirectory)
Constructs and publishes policy worker task messages for files in provided directory.
|
public static ExecutorService publishTaskMessagesForDirectoryAndMonitor(String documentInputDirectory, Long workflowId, String projectId, String sentDocumentsDirectory) throws IOException
documentInputDirectory - Directory to publish messages for.workflowId - Workflow ID to set on the task data of messages.projectId - Project ID to set on the task data of messages.sentDocumentsDirectory - Directory to move files that have had messages sent. Pass null to not move files.IOException - If errors occurs setting up monitoring for specified directory.public static void publishTaskMessagesForDirectory(String documentInputDirectory, Long workflowId, String projectId, String sentDocumentsDirectory)
documentInputDirectory - Directory to publish messages for.workflowId - Workflow ID to set on the task data of messages.projectId - Project ID to set on the task data of messages.sentDocumentsDirectory - Directory to move files that have had messages sent. Pass null to not move files.Copyright © 2015–2017 Hewlett Packard Enterprise Development LP. All rights reserved.