org.jbpm.kie.services.api
Class DeploymentIdResolver
java.lang.Object
org.jbpm.kie.services.api.DeploymentIdResolver
public class DeploymentIdResolver
- extends Object
Deployment id resolver that allows to find out latest version of given deployment id. To be able
to find it deployment id needs to be done with valid group and artifact id and version must be
set to latest
(case insensitive):
org.jbpm:HR:latest
then available deployment units will be scanned and based on Maven version comparison latest will
be returned.
Primary method to be used matchAndReturnLatest(java.lang.String, java.util.Collection)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentIdResolver
public DeploymentIdResolver()
matchAndReturnLatest
public static String matchAndReturnLatest(String deploymentId,
Collection<String> availableDeployments)
matchDeployments
public static Collection<String> matchDeployments(String deploymentId,
Collection<String> availableDeployments)
findLatest
public static String findLatest(Collection<String> deploymentIds)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.