@Retention(value=RUNTIME) public @interface DmnDeploymentAnnotation
Usage:
package org.example;
...
public class ExampleTest {
@DmnDeploymentAnnotation
public void testForADeploymentWithASingleResource() {
// a deployment will be available in the engine repository
// containing the single resource org/example/ExampleTest.testForADeploymentWithASingleResource.bpmn20.xml
}
@DmnDeploymentAnnotation(resources = {
"org/example/decisionOne.dmn",
"org/example/decisionTwo.dmn"})
public void testForADeploymentWithASingleResource() {
// a deployment will be available in the engine repository the resources
}
public abstract String[] resources
Copyright © 2021 Flowable. All rights reserved.