| Package | Description |
|---|---|
| org.wso2.testgrid.common.util |
| Modifier and Type | Method and Description |
|---|---|
static void |
FileUtil.compressFiles(List<String> files,
String destination)
Creates a archive file of the list of files passing in the given destination.
|
static List<String> |
FileUtil.getFilesOnDirectory(String directory,
String glob)
This method returns the list of files in a given directory after filtering a given glob pattern.
|
static List<String> |
FileUtil.getTestPlanIdByReadingTGYaml(String workspace)
Get test plan ids by reading testgrid yaml files contains in the testgrid home.
|
static Path |
TestGridUtil.getTestRunWorkspace(TestPlan testPlan)
Returns the directory location where the test run artifacts resides relative to testgrid.home.
|
static void |
FileUtil.saveFile(String content,
String filePath,
String fileName)
Saves the content to a file with the given name in the given file path.
|
static void |
FileUtil.writeToFile(String filePath,
String string)
Writes a given string to a given file to persistent media.
|
Copyright © 2018 WSO2. All rights reserved.