Annotation Type 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
      String value
      The required history level.
    • Element Detail

      • value

        String value
        The required history level.