org.camunda.bpm.extension.osgi.internal
Class ProcessDefinitionParser
java.lang.Object
org.camunda.bpm.extension.osgi.internal.ProcessDefinitionParser
public final class ProcessDefinitionParser
- extends Object
Helper class to parse the paths of process definitions inside a bundle.
- Author:
- Ronny Bräunlich
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scanForProcesses
public static List<URL> scanForProcesses(org.osgi.framework.Bundle bundle)
- Scans a bundle if it contains process definitions at the place pointed to
by the
Constants.BUNDLE_PROCESS_DEFINITIONS_HEADER or at the
default location Constants.BUNDLE_PROCESS_DEFINTIONS_DEFAULT.
- Parameters:
bundle -
- Returns:
- list of URLs pointing to process definitions or an empty list
Copyright © 2015 camunda services GmbH. All rights reserved.