Class RepeatSpec
- java.lang.Object
-
- com.atlassian.bamboo.testutils.junit.rule.RepeatSpec
-
- All Implemented Interfaces:
Annotation
public class RepeatSpec extends Object implements Repeat
This class does not obey the contract for "equals" and "hashCode" defined by the Annotation interface, so instances of this class cannot currently be compared reliably or used as hash map keys.
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.testutils.junit.rule.Repeat
DEFAULT_MAX_EXECUTIONS, DEFAULT_MIN_EXECUTIONS, DEFAULT_PASS_THRESHOLD, DEFAULT_PROFILE
-
-
Constructor Summary
Constructors Constructor Description RepeatSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>annotationType()intmaxExecutions()RepeatSpecmaxExecutions(int maxExecutions)intminExecutions()RepeatSpecminExecutions(int minExecutions)doublepassThreshold()RepeatSpecpassThreshold(double passThreshold)Stringprofile()RepeatSpecprofile(String profile)Stringreason()booleanstopOnFailure()RepeatSpecstopOnFailure(boolean stopOnFailure)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
-
-
-
-
Method Detail
-
profile
public RepeatSpec profile(String profile)
-
minExecutions
public RepeatSpec minExecutions(int minExecutions)
-
maxExecutions
public RepeatSpec maxExecutions(int maxExecutions)
-
passThreshold
public RepeatSpec passThreshold(double passThreshold)
-
stopOnFailure
public RepeatSpec stopOnFailure(boolean stopOnFailure)
-
profile
public String profile()
-
minExecutions
public int minExecutions()
-
maxExecutions
public int maxExecutions()
-
passThreshold
public double passThreshold()
-
stopOnFailure
public boolean stopOnFailure()
-
reason
public String reason()
-
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationTypein interfaceAnnotation
-
-