blob: 7c6b849ff4bbb46b273fe560d15882e70d27a5d2 [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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.bpm;
import org.eclipse.osbp.bpm.api.IBlipBPMUserTask;
/**
* API for a bpm human task
*/
public abstract class AbstractBlipBPMUserTask extends AbstractBlipBPMItem implements IBlipBPMUserTask {
protected final String onEntryFunction;
protected final String onExitFunction;
/** see {@link org.eclipse.osbp.bpm.api.AbstractBlipBPMItem#AbstractBPMItem(String, String)} */
protected AbstractBlipBPMUserTask(String blipId, String bpmId, String onEntryFunction, String onExitFunction) {
super(blipId, bpmId);
this.onEntryFunction = onEntryFunction;
this.onExitFunction = onExitFunction;
}
@Override
public final String getOnEntryFunction() {
return onEntryFunction;
}
@Override
public final String getOnExitFunction() {
return onExitFunction;
}
}