org.apache.maven.surefire.util
Class DefaultScanResult

java.lang.Object
  extended by org.apache.maven.surefire.util.DefaultScanResult
All Implemented Interfaces:
ScanResult

public class DefaultScanResult
extends Object
implements ScanResult

Author:
Kristian Rosenvold

Constructor Summary
DefaultScanResult(List files)
           
 
Method Summary
 TestsToRun applyFilter(ScannerFilter scannerFilter, ClassLoader testClassLoader)
           
static DefaultScanResult from(Properties properties)
           
 List getClassesSkippedByValidation(ScannerFilter scannerFilter, ClassLoader testClassLoader)
           
 String getClassName(int index)
           
 List getFiles()
           
 boolean isEmpty()
           
 int size()
           
 void writeTo(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultScanResult

public DefaultScanResult(List files)
Method Detail

size

public int size()
Specified by:
size in interface ScanResult

getClassName

public String getClassName(int index)
Specified by:
getClassName in interface ScanResult

writeTo

public void writeTo(Properties properties)
Specified by:
writeTo in interface ScanResult

from

public static DefaultScanResult from(Properties properties)

isEmpty

public boolean isEmpty()

getFiles

public List getFiles()

applyFilter

public TestsToRun applyFilter(ScannerFilter scannerFilter,
                              ClassLoader testClassLoader)
Specified by:
applyFilter in interface ScanResult

getClassesSkippedByValidation

public List getClassesSkippedByValidation(ScannerFilter scannerFilter,
                                          ClassLoader testClassLoader)
Specified by:
getClassesSkippedByValidation in interface ScanResult


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