org.jenkinsci.plugins.envinject.service
Class PropertiesService
java.lang.Object
org.jenkinsci.plugins.envinject.service.PropertiesService
- All Implemented Interfaces:
- Serializable
public class PropertiesService
- 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 |
PropertiesService
public PropertiesService()
getVarsFromPropertiesFile
public Map<String,String> getVarsFromPropertiesFile(File propertiesFile)
throws EnvInjectException
- Get a map environment variables from a properties file path
- Parameters:
propertiesFile - the properties file
- Returns:
- a map containing all the file properties content
- Throws:
EnvInjectException
getVarsFromPropertiesContent
public Map<String,String> getVarsFromPropertiesContent(String fileContent)
throws EnvInjectException
- Get a map environment variables from the content
- Parameters:
fileContent -
- Returns:
-
- Throws:
EnvInjectException
Copyright © 2004-2011. All Rights Reserved.