Class ParameterizedTriggerUtils
java.lang.Object
hudson.plugins.parameterizedtrigger.ParameterizedTriggerUtils
Common utility methods.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesloadProperties(String properties) Load properties from string.static ParametersActionmergeParameters(ParametersAction base, ParametersAction overlay) static StringreadFileToString(FilePath f, String encoding) FilePath.readToString()with encoding.static StringRead VirtualFile.
-
Field Details
-
DISABLE_ACTION_VIEWS_KEY
- See Also:
-
-
Constructor Details
-
ParameterizedTriggerUtils
public ParameterizedTriggerUtils()
-
-
Method Details
-
loadProperties
Load properties from string.- Throws:
IOException- on IO error
-
readFileToString
public static String readFileToString(FilePath f, String encoding) throws IOException, InterruptedException FilePath.readToString()with encoding.- Parameters:
f- file to readencoding- null for platform default encoding.- Returns:
- read string
- Throws:
IOException- on IO errorInterruptedException
-
readFileToString
Read VirtualFile.- Parameters:
f- file to read- Returns:
- read string
- Throws:
IOException- on IO errorInterruptedException
-
mergeParameters
-