Class FormatSelector
- java.lang.Object
-
- org.jenkinsci.plugins.benchmark.parsers.FormatSelector
-
public class FormatSelector extends Object
Format selector based on selected information- Since:
- 6/20/2017.
- Author:
- Daniel Mercier
-
-
Constructor Summary
Constructors Constructor Description FormatSelector(Run<?,?> run, FilePath filePath, String searchFilePattern, String schema, boolean truncateStrings, TaskListener listener)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
checkFormat(String schema)
MapperBase
getMapper()
static Map<String,FilePath>
IdentifyFiles(FilePath fileBase, String searchFilePattern, String extension)
Identify the existing files based on search file pattern with wildcard
-
-
-
Constructor Detail
-
FormatSelector
public FormatSelector(Run<?,?> run, FilePath filePath, String searchFilePattern, String schema, boolean truncateStrings, TaskListener listener) throws InterruptedException, ValidationException, IOException
-
-
Method Detail
-
checkFormat
public static void checkFormat(String schema) throws IOException
- Throws:
IOException
-
IdentifyFiles
public static Map<String,FilePath> IdentifyFiles(FilePath fileBase, String searchFilePattern, String extension) throws IOException, InterruptedException
Identify the existing files based on search file pattern with wildcard- Parameters:
fileBase
- Build workspace addresssearchFilePattern
- File search pattern to identify result filesextension
- File extension- Returns:
- Map with shorten filename and file address
- Throws:
IOException
- I/O exceptionInterruptedException
- Interrupted exception
-
getMapper
public MapperBase getMapper()
-
-