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 String[]
getDeploymentDescriptorLocations(AbstractProcessApplication processApplication)
String
getName()
protected List<URL>
getProcessesXmlUrls(String[] deploymentDescriptors, AbstractProcessApplication processApplication)
protected boolean
isEmptyFile(URL url)
protected ProcessesXml
parseProcessesXml(URL url)
protected Map<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 String getName()
- Specified by:
getName
in classDeploymentOperationStep
-
performOperationStep
public void performOperationStep(DeploymentOperation operationContext)
- Specified by:
performOperationStep
in classDeploymentOperationStep
-
parseProcessesXmlFiles
protected Map<URL,ProcessesXml> parseProcessesXmlFiles(AbstractProcessApplication processApplication)
-
getProcessesXmlUrls
protected List<URL> getProcessesXmlUrls(String[] deploymentDescriptors, AbstractProcessApplication processApplication)
-
getDeploymentDescriptorLocations
protected String[] getDeploymentDescriptorLocations(AbstractProcessApplication processApplication)
-
isEmptyFile
protected boolean isEmptyFile(URL url)
-
parseProcessesXml
protected ProcessesXml parseProcessesXml(URL url)
-
-