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()
int
maxExecutions()
RepeatSpec
maxExecutions(int maxExecutions)
int
minExecutions()
RepeatSpec
minExecutions(int minExecutions)
double
passThreshold()
RepeatSpec
passThreshold(double passThreshold)
String
profile()
RepeatSpec
profile(String profile)
String
reason()
-
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)
-
profile
public String profile()
-
minExecutions
public int minExecutions()
-
maxExecutions
public int maxExecutions()
-
passThreshold
public double passThreshold()
-
reason
public String reason()
-
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationType
in interfaceAnnotation
-
-