package org.springblade.flow.engine.custom.cmd.commons;

import org.flowable.common.engine.impl.interceptor.Command;
import org.flowable.common.engine.impl.interceptor.CommandContext;
import org.flowable.engine.impl.persistence.entity.ExecutionEntityManager;
import org.flowable.engine.impl.util.CommandContextUtil;

/**
 * @author LoveMyOrange
 * @create 2022-02-14 20:54
 */
public class GetExecutionEntityManagerCmd implements Command<ExecutionEntityManager> {
    @Override
    public ExecutionEntityManager execute(CommandContext commandContext) {
        return   CommandContextUtil.getExecutionEntityManager(commandContext);

    }
}
