All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.egatlovs.variablemanager.producers.ExecutionProducer Maven / Gradle / Ivy

package com.github.egatlovs.variablemanager.producers;

import org.camunda.bpm.engine.context.DelegateExecutionContext;
import org.camunda.bpm.engine.delegate.DelegateExecution;

import javax.enterprise.inject.Produces;

/**
 * ExecutionProducer
*
* This class provides the current DelegateExecution if present otherwise null * is returned. * * @author egatlovs */ public class ExecutionProducer { /** * Produces a DelegateExecution. * * @return - The current DelegateExecution or null if no execution is present */ @Produces public DelegateExecution getDelegateExecution() { return DelegateExecutionContext.getCurrentDelegationExecution(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy