public interface ProcessArchiveXml
Java API representation of a ProcessArchive definition inside a processes.xml file
Modifier and Type | Field and Description |
---|---|
static String |
PROP_IS_DELETE_UPON_UNDEPLOY
Indicates whether the undeployment of the process archive should trigger deleting the process engine deployment.
|
static String |
PROP_IS_RESUME_PREVIOUS_VERSIONS
Indicates whether old versions of the deployment should be resumed.
|
static String |
PROP_IS_SCAN_FOR_PROCESS_DEFINITIONS
Indicates whether the classloader should be scanned for process definitions.
|
static String |
PROP_RESOURCE_ROOT_PATH
The resource root of the proccess archive.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getProcessEngineName() |
List<String> |
getProcessResourceNames() |
Map<String,String> |
getProperties() |
static final String PROP_IS_DELETE_UPON_UNDEPLOY
static final String PROP_IS_SCAN_FOR_PROCESS_DEFINITIONS
static final String PROP_IS_RESUME_PREVIOUS_VERSIONS
static final String PROP_RESOURCE_ROOT_PATH
The resource root of the proccess archive. This property is used when scanning for process definitions
(if PROP_IS_SCAN_FOR_PROCESS_DEFINITIONS
is set to true).
The path is interpreted as
|-- My-Application.war |-- WEB-INF |-- lib/ |-- Sales-Processes.jar |-- META-INF/processes.xml (1) |-- opps/openOpportunity.bpmn |-- leads/openLead.bpmn |-- Invoice-Processes.jar |-- META-INF/processes.xml (2)If the process archive(s) defined in (1) uses a path prefixed with "pa:", like for instance "pa:opps/", only the "opps/"-folder of sales-processes.jar is scanned. More precisely, a "pa-local path", is resolved relative to the the parent directory of the META-INF-directory containing the defining processes.xml file. This implies, that using a pa-local path in (1), no processes from (2) are visible.
String getName()
String getProcessEngineName()
List<String> getProcessResourceNames()
Map<String,String> getProperties()
PROP_IS_DELETE_UPON_UNDEPLOY
,
PROP_IS_SCAN_FOR_PROCESS_DEFINITIONS
,
PROP_RESOURCE_ROOT_PATH
Copyright © 2015. All rights reserved.