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

io.miragon.bpmrepo.spring.boot.starter.deployment.DefaultDeploymentPlugin Maven / Gradle / Ivy

package io.miragon.bpmrepo.spring.boot.starter.deployment;

import io.miragon.bpmrepo.core.artifact.plugin.DeploymentPlugin;
import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

@Slf4j
public class DefaultDeploymentPlugin implements DeploymentPlugin {

    @Override
    public void deploy(final String deploymentId, final String versionId, final String target, final String file, final String artifactType) {
        log.info("Deployed version {} to target {}", versionId, target);
    }

    @Override
    public List getDeploymentTargets() {
        final List list = new ArrayList<>();
        list.add("Produktion");
        list.add("Review");
        list.add("Management");

        return list;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy