org.jenkinsci.plugins.envinject.service
Class PropertiesFileService
java.lang.Object
org.jenkinsci.plugins.envinject.service.PropertiesFileService
- All Implemented Interfaces:
- Serializable
public class PropertiesFileService
- extends Object
- implements Serializable
- Author:
- Gregory Boissinot
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesFileService
public PropertiesFileService(hudson.model.TaskListener listener)
getVarsFromPropertiesFilePath
public Map<String,String> getVarsFromPropertiesFilePath(String filePath)
throws EnvInjectException
- Get a map environment variables from a properties file path
- Returns:
- a environment map
- Throws:
EnvInjectException
getVarsFromPropertiesContent
public Map<String,String> getVarsFromPropertiesContent(String fileContent)
throws EnvInjectException
- Gte a map environment variables from the content
- Returns:
- a environment map
- Throws:
EnvInjectException
Copyright © 2004-2011. All Rights Reserved.