Annotation Interface RemoveAfter


@Target(METHOD) @Retention(RUNTIME) public @interface RemoveAfter
Annotation for test methods that require cleanup of the task they create after method execution.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    An array of class arguments whose related entities should be removed after the execution of the method.
  • Element Details

    • value

      Class[] value
      An array of class arguments whose related entities should be removed after the execution of the method.
      Returns:
      the array of classes
      Default:
      {}