Class Priority
- java.lang.Object
-
- org.apache.maven.surefire.api.runorder.Priority
-
public class Priority extends Object
- Author:
- Kristian Rosenvold
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addItem(RunEntryStatistics itemStat)
String
getClassName()
int
getMinSuccessRate()
int
getPriority()
int
getTotalRuntime()
static Priority
newTestClassPriority(String className)
Returns a priority that applies to a new testclass (that has never been run/recorded)void
setPriority(int priority)
-
-
-
Constructor Detail
-
Priority
public Priority(String className)
-
-
Method Detail
-
newTestClassPriority
public static Priority newTestClassPriority(String className)
Returns a priority that applies to a new testclass (that has never been run/recorded)- Parameters:
className
- The class name- Returns:
- A priority
-
addItem
public void addItem(RunEntryStatistics itemStat)
-
getTotalRuntime
public int getTotalRuntime()
-
getMinSuccessRate
public int getMinSuccessRate()
-
getClassName
public String getClassName()
-
getPriority
public int getPriority()
-
setPriority
public void setPriority(int priority)
-
-