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.String
getName()
protected java.util.List<java.net.URL>
getProcessesXmlUrls(java.lang.String[] deploymentDescriptors, AbstractProcessApplication processApplication)
protected boolean
isEmptyFile(java.net.URL url)
protected ProcessesXml
parseProcessesXml(java.net.URL url)
protected java.util.Map<java.net.URL,ProcessesXml>
parseProcessesXmlFiles(AbstractProcessApplication processApplication)
void
performOperationStep(DeploymentOperation operationContext)
-
Methods inherited from class org.camunda.bpm.container.impl.spi.DeploymentOperationStep
cancelOperationStep
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in classDeploymentOperationStep
-
performOperationStep
public void performOperationStep(DeploymentOperation operationContext)
- Specified by:
performOperationStep
in 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)
-
-