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

com.github.markusbernhardt.selenium2library.RunOnFailureKeywordsAdapter Maven / Gradle / Ivy

There is a newer version: 1.4.0.8
Show newest version
package com.github.markusbernhardt.selenium2library;

import org.robotframework.javalib.annotation.Autowired;

import com.github.markusbernhardt.selenium2library.keywords.RunOnFailure;

public abstract class RunOnFailureKeywordsAdapter implements RunOnFailureKeywords {

	@Autowired
	private RunOnFailure runOnFailure;

	/**
	 * This method is called by the
	 * com.github.markusbernhardt.selenium2library.aspects.RunOnFailureAspect in
	 * case a exception is thrown in one of the public methods of a keyword
	 * class.
	 */
	@Override
	public void runOnFailureByAspectJ() {
		runOnFailure.runOnFailure();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy