Skip to content

Commit

Permalink
JBPM-5240 - Provide easy way to access task variables via TaskEvent f…
Browse files Browse the repository at this point in the history
…or process instance (kiegroup#574)
  • Loading branch information
mswiderski authored and csadilek committed Aug 12, 2016
1 parent d082fcb commit 0054516
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
import java.io.ObjectOutput;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.kie.api.task.model.Attachment;
import org.kie.api.task.model.Comment;
Expand Down Expand Up @@ -413,7 +415,17 @@ public List<Attachment> getAttachments() {
public long getParentId() {
return this.taskData.getParentId();
}


@Override
public Map<String, Object> getTaskInputVariables() {
return new HashMap<String, Object>();
}

@Override
public Map<String, Object> getTaskOutputVariables() {
return new HashMap<String, Object>();
}

}

static final class JaxbAttachmentWrapper extends JaxbWrapper implements Attachment {
Expand Down

0 comments on commit 0054516

Please sign in to comment.