package com.fp.bpmlib.task.util;


import java.util.Collection;

import org.kie.api.runtime.manager.RuntimeManager;
import org.kie.internal.deployment.DeployedUnit;
import org.kie.internal.deployment.DeploymentService;
import org.kie.internal.deployment.DeploymentUnit;

// plain CustomDeploymentService solves:
// Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [DeploymentService]
// with qualifiers [@Default] at injection point [[field] @Inject private
// org.jbpm.kie.services.impl.form.FormProviderServiceImpl.deploymentService]
// @ApplicationScoped
public class CustomDeploymentService implements DeploymentService {

    @Override
    public void deploy(DeploymentUnit deploymentUnit) {
    }

    @Override
    public void undeploy(DeploymentUnit deploymentUnit) {
    }

    @Override
    public RuntimeManager getRuntimeManager(String s) {
        return null;
    }

    @Override
    public DeployedUnit getDeployedUnit(String s) {
        return null;
    }

    @Override
    public Collection<DeployedUnit> getDeployedUnits() {
        return null;
    }
}
