@API(status=STABLE, since="1.0") public class FileSelector extends Object implements DiscoverySelector
DiscoverySelector that selects a file so that
TestEngines
can discover tests or containers based on files in the
file system.DirectorySelector,
getFile(),
getPath(),
getRawPath()| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Get the selected file as a
File. |
Path |
getPath()
|
String |
getRawPath()
Get the selected file as a raw path.
|
String |
toString() |
public File getFile()
File.getPath(),
getRawPath()public Path getPath()
getFile(),
getRawPath()public String getRawPath()