blob: d86428864299f0f3cd1e647c938759c83e416993 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.bpm.api;
/**
* API for a bpm end event.
*/
public final class BPMEndEvent extends AbstractBPMEvent {
protected final boolean terminatesProcess;
/** see {@link org.eclipse.osbp.bpm.api.AbstractBPMEvent#AbstractBPMEvent(String, String)} */
public BPMEndEvent(String blipId, String bpmId, boolean terminatesProcess) {
super(blipId, bpmId);
this.terminatesProcess = terminatesProcess;
}
public boolean isTerminatesProcess() {
return terminatesProcess;
}
}