All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.novatec.testit.webtester.pagefragments.annotations.Action Maven / Gradle / Ivy

package info.novatec.testit.webtester.pagefragments.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import info.novatec.testit.webtester.internal.configuration.NamedProperties;
import info.novatec.testit.webtester.pagefragments.PageFragment;


/**
 * Marks an {@link PageFragment page fragment} method to be an 'action'.
 * 

* Marking a method as an action allows for the following: *

    *
  • Decelerating the execution by setting the {@link NamedProperties#ACTIONS_DECELERATION} property.
  • *
  • Automatic marking as 'used' in case the {@link NamedProperties#MARKINGS} is set.
  • *
*

* Constraints: The annotation is only evaluated for page fragment default methods! * * @see PageFragment * @see NamedProperties#ACTIONS_DECELERATION * @since 2.0 */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Action { }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy