org.jbpm.console.ng.bd.backend.server.provider
Class UserDefinedDeploymentUnitProvider
java.lang.Object
org.jbpm.console.ng.bd.backend.server.provider.UserDefinedDeploymentUnitProvider
- All Implemented Interfaces:
- DeploymentUnitProvider<org.jbpm.kie.services.api.DeploymentUnit>
@ApplicationScoped
public class UserDefinedDeploymentUnitProvider
- extends Object
- implements DeploymentUnitProvider<org.jbpm.kie.services.api.DeploymentUnit>
Allows to define KModuleDeploymentUnits based on either system property
or read from a file.
Structure of the deployment unit must conform to one of the format:
1. groupId:artifactId:version
2. groupId:artifactId:version:kbase-name:ksession-name
-
Provide a list of semicolon separated GAV deployments in above format as system parameter called:
jbpm.deployment.units
-
Provide text file where each line defines single deployment in above format and file location should be
given as absolute path via system parameter called: jbpm.deployment.units.file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserDefinedDeploymentUnitProvider
public UserDefinedDeploymentUnitProvider()
getDeploymentUnits
public Set<org.jbpm.kie.services.api.DeploymentUnit> getDeploymentUnits()
- Specified by:
getDeploymentUnits
in interface DeploymentUnitProvider<org.jbpm.kie.services.api.DeploymentUnit>
buildDeploymentUnit
protected org.jbpm.kie.services.api.DeploymentUnit buildDeploymentUnit(String gav)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.