public class PropertiesFileContentExtractor extends Object
| Constructor and Description |
|---|
PropertiesFileContentExtractor(FilePathFactory filePathFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
extractPropertiesFileContents(String propertiesFilePath,
hudson.model.AbstractProject job,
hudson.model.Node pollingNode,
org.jenkinsci.lib.xtrigger.XTriggerLog log,
Map<String,String> envVars)
Given a propertiesFilePath value, will split that value into multiple paths, read the content from the resolved file names
and return the content.
|
List<String> |
splitFilePaths(String propertiesFilePath)
Utility method that:
1) Splits the value on semi-colon.
|
public PropertiesFileContentExtractor(FilePathFactory filePathFactory)
public String extractPropertiesFileContents(String propertiesFilePath, hudson.model.AbstractProject job, hudson.model.Node pollingNode, org.jenkinsci.lib.xtrigger.XTriggerLog log, Map<String,String> envVars) throws org.jenkinsci.lib.xtrigger.XTriggerException
propertiesFilePath - If this value is empty or null, the method will return an empty string.org.jenkinsci.lib.xtrigger.XTriggerExceptionCopyright © 2004-2015. All Rights Reserved.