public class FormatSelector extends Object
Constructor and Description |
---|
FormatSelector(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
String searchFilePattern,
String schema,
boolean truncateStrings,
hudson.model.TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
static void |
checkFormat(String schema) |
MapperBase |
getMapper() |
static Map<String,hudson.FilePath> |
IdentifyFiles(hudson.FilePath fileBase,
String searchFilePattern,
String extension)
Identify the existing files based on search file pattern with wildcard
|
public FormatSelector(hudson.model.Run<?,?> run, hudson.FilePath filePath, String searchFilePattern, String schema, boolean truncateStrings, hudson.model.TaskListener listener) throws InterruptedException, ValidationException, IOException
public static void checkFormat(String schema) throws IOException
IOException
public static Map<String,hudson.FilePath> IdentifyFiles(hudson.FilePath fileBase, String searchFilePattern, String extension) throws IOException, InterruptedException
fileBase
- Build workspace addresssearchFilePattern
- File search pattern to identify result filesextension
- File extensionIOException
- I/O exceptionInterruptedException
- Interrupted exceptionpublic MapperBase getMapper()
Copyright © 2016–2019. All rights reserved.