Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import  org.kie.api.runtime.process.WorkItemHandler;
 
 
     private WorkItemHandler delegate;
    public WorkItemHandlerKieAdapter(WorkItemHandler delegate) {
        this. = delegate;
    }
    @Override
    public void executeWorkItem(WorkItem workItemWorkItemManager manager) {
        .executeWorkItem(new WorkItemKieAdapter(workItem), new WorkItemManagerKieAdapter(manager));
    }
    @Override
    public void abortWorkItem(WorkItem workItemWorkItemManager manager) {
        .abortWorkItem(new WorkItemKieAdapter(workItem), new WorkItemManagerKieAdapter(manager));
    }
    @Override
    public int hashCode() {
        return .hashCode();
    }
    @Override
    public boolean equals(Object obj) {
        return obj instanceof WorkItemHandlerKieAdapter && .equals(((WorkItemHandlerKieAdapter)obj).);
    }
New to GrepCode? Check out our FAQ X