public interface ProcessArchiveXml
Java API representation of a ProcessArchive definition inside a processes.xml file
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_ADDITIONAL_RESOURCE_SUFFIXES
A semicolon separated list of additional suffixes for resources to scan for.
|
static String |
PROP_ADDITIONAL_RESOURCE_SUFFIXES_SEPARATOR |
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_DEPLOY_CHANGED_ONLY
Indicates whether only changed resources should be part of the 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.
|
static String |
PROP_RESUME_PREVIOUS_BY
Indicates which previous deployments should be resumed by this deployment.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getProcessEngineName() |
List<String> |
getProcessResourceNames() |
Map<String,String> |
getProperties() |
String |
getTenantId() |
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_RESUME_PREVIOUS_BY
ResumePreviousBy.static final String PROP_IS_DEPLOY_CHANGED_ONLY
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.
static final String PROP_ADDITIONAL_RESOURCE_SUFFIXES
static final String PROP_ADDITIONAL_RESOURCE_SUFFIXES_SEPARATOR
String getName()
String getTenantId()
null.String getProcessEngineName()
List<String> getProcessResourceNames()
Map<String,String> getProperties()
PROP_IS_DELETE_UPON_UNDEPLOY,
PROP_IS_SCAN_FOR_PROCESS_DEFINITIONS,
PROP_RESOURCE_ROOT_PATH,
PROP_IS_DEPLOY_CHANGED_ONLYCopyright © 2021. All rights reserved.