* @param estimate
* the new total time estimate
*/
public void spreadEstimatedTime(ProbeData histData, double estimate) {
// get a list of the tasks in the current process enactment
WorkflowEnactmentHelper tasks = new WorkflowEnactmentHelper(data,
prefix);
Map<String, String> targetTasks = tasks.getEnactmentTasks(
TaskMapType.PhaseName, TaskNodeType.Leaf);
if (targetTasks == null)
// null indicates that the database queries failed. Abort.
return;
Map<String, String> pspTasks = tasks.getEnactmentTasks(
TaskMapType.PhaseName, TaskNodeType.PSP);
targetTasks.putAll(pspTasks);
Set<String> workflowPspSteps = new HashSet(pspTasks.values());
// if we were able to enumerate the tasks successfully, spread the new