Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import java.util.Map;
 
 
 public class WorkItemManagerAdapter implements WorkItemManager {
 	
	public org.kie.api.runtime.process.WorkItemManager delegate;
	public WorkItemManagerAdapter(org.kie.api.runtime.process.WorkItemManager delegate) {
		this. = delegate;
	}
	public void completeWorkItem(long idMap<StringObjectresults) {
		.completeWorkItem(idresults);
	}
	public void abortWorkItem(long id) {
		.abortWorkItem(id);
	}
	public void registerWorkItemHandler(String workItemName,
			WorkItemHandler handler) {
		.registerWorkItemHandler(workItemNamenew WorkItemHandlerAdapter(handler));
	}
New to GrepCode? Check out our FAQ X