Class DeploymentIdResolver

  • All Implemented Interfaces:
    org.kie.internal.runtime.manager.RuntimeManagerIdFilter

    public class DeploymentIdResolver
    extends Object
    implements org.kie.internal.runtime.manager.RuntimeManagerIdFilter
    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<java.lang.String>)