Class ParseProcessesXmlStep
- java.lang.Object
-
- org.camunda.bpm.container.impl.spi.DeploymentOperationStep
-
- org.camunda.bpm.container.impl.deployment.ParseProcessesXmlStep
-
public class ParseProcessesXmlStep extends DeploymentOperationStep
Detects and parses all META-INF/processes.xml files within the process application and attaches the parsed Metadata to the operation context.
- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description ParseProcessesXmlStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String[]getDeploymentDescriptorLocations(AbstractProcessApplication processApplication)java.lang.StringgetName()protected java.util.List<java.net.URL>getProcessesXmlUrls(java.lang.String[] deploymentDescriptors, AbstractProcessApplication processApplication)protected booleanisEmptyFile(java.net.URL url)protected ProcessesXmlparseProcessesXml(java.net.URL url)protected java.util.Map<java.net.URL,ProcessesXml>parseProcessesXmlFiles(AbstractProcessApplication processApplication)voidperformOperationStep(DeploymentOperation operationContext)-
Methods inherited from class org.camunda.bpm.container.impl.spi.DeploymentOperationStep
cancelOperationStep
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein classDeploymentOperationStep
-
performOperationStep
public void performOperationStep(DeploymentOperation operationContext)
- Specified by:
performOperationStepin classDeploymentOperationStep
-
parseProcessesXmlFiles
protected java.util.Map<java.net.URL,ProcessesXml> parseProcessesXmlFiles(AbstractProcessApplication processApplication)
-
getProcessesXmlUrls
protected java.util.List<java.net.URL> getProcessesXmlUrls(java.lang.String[] deploymentDescriptors, AbstractProcessApplication processApplication)
-
getDeploymentDescriptorLocations
protected java.lang.String[] getDeploymentDescriptorLocations(AbstractProcessApplication processApplication)
-
isEmptyFile
protected boolean isEmptyFile(java.net.URL url)
-
parseProcessesXml
protected ProcessesXml parseProcessesXml(java.net.URL url)
-
-