DiscoverySelector
@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.DiscoverySelectors.selectFile(String)
,
DiscoverySelectors.selectFile(File)
,
DirectorySelector
,
getFile()
,
getPath()
,
getRawPath()
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
File |
getFile() |
Get the selected file as a
File . |
Path |
getPath() |
|
String |
getRawPath() |
Get the selected file as a raw path.
|
int |
hashCode() |
|
String |
toString() |
public File getFile()
File
.getPath()
,
getRawPath()
public Path getPath()
getFile()
,
getRawPath()
public String getRawPath()
@API(status=STABLE, since="1.3") public boolean equals(Object o)
@API(status=STABLE, since="1.3") public int hashCode()
Copyright © 2019. All rights reserved.