org.camunda.bpm.engine.test
Annotation Type RequiredHistoryLevel


@Retention(value=RUNTIME)
@Inherited
public @interface RequiredHistoryLevel

Annotation for a test method or class to specify the required history level. If the current history level of the process engine is lower than the specified one then the test method is skipped.

Usage:

 package org.example;

 ...

 public class ExampleTest {

   @RequiredHistoryLevel(ProcessEngineConfiguration.HISTORY_ACTIVITY)
   public void testWithHistory() {

     // test something with the history service (e.g. variables)
   }
 


Required Element Summary
 String value
          The required history level.
 

Element Detail

value

public abstract String value
The required history level.



Copyright © 2016 camunda services GmbH. All rights reserved.