org.camunda.bpm.scenario.impl.delegate.AbstractEventSubscriptionDelegate Maven / Gradle / Ivy
package org.camunda.bpm.scenario.impl.delegate;
import org.camunda.bpm.engine.history.HistoricActivityInstance;
import org.camunda.bpm.engine.runtime.EventSubscription;
import org.camunda.bpm.scenario.delegate.EventSubscriptionDelegate;
import org.camunda.bpm.scenario.impl.ProcessRunnerImpl;
import org.camunda.bpm.scenario.impl.WaitstateExecutable;
import java.util.Date;
/**
* @author Martin Schimak
*/
public abstract class AbstractEventSubscriptionDelegate extends WaitstateExecutable implements EventSubscriptionDelegate {
public AbstractEventSubscriptionDelegate(ProcessRunnerImpl runner, HistoricActivityInstance instance) {
super(runner, instance);
}
public String getId() {
return delegate.getId();
}
public String getEventType() {
return delegate.getEventType();
}
public String getEventName() {
return delegate.getEventName();
}
public String getProcessInstanceId() {
return delegate.getProcessInstanceId();
}
public String getTenantId() {
return delegate.getTenantId();
}
public Date getCreated() {
return delegate.getCreated();
}
}