Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import  org.kie.api.runtime.process.ProcessInstance;
 
 import java.util.List;
    private final ProcessInstance delegate;
    public ProcessInstanceAdapter(ProcessInstance delegate) {
        this. = delegate;
    }
    public String getProcessId() {
        return .getProcessId();
    }
        return new ProcessAdapter(.getProcess());
    }
    public long getId() {
        return .getId();
    }
    public String getProcessName() {
        return .getProcessName();
    }
    public int getState() {
        return .getState();
    }
    public void signalEvent(String typeObject event) {
        .signalEvent(typeevent);
    }
    public String[] getEventTypes() {
        return .getEventTypes();
    }
    public static List<org.drools.runtime.process.ProcessInstanceadaptProcessInstances(Collection<ProcessInstance> processes) {
        for (ProcessInstance process : processes) {
            result.add(new ProcessInstanceAdapter(process));
        }
        return result;
    }
New to GrepCode? Check out our FAQ X