Annotation Interface RequiredHistoryLevel


@Retention(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

    Required Elements
    Modifier and Type
    Required Element
    Description
    The required history level.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      String value
      The required history level.
    • exact

      boolean exact
      Default:
      false