org.apache.maven.plugin.surefire.runorder
Class Priority

java.lang.Object
  extended by org.apache.maven.plugin.surefire.runorder.Priority

public class Priority
extends Object

Author:
Kristian Rosenvold

Constructor Summary
Priority(String className)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.