Package jenkins.plugins.jclouds.config
Class ConfigHelper
java.lang.Object
jenkins.plugins.jclouds.config.ConfigHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
static ListBoxModel
doFillFileItems
(String currentValue) static ListBoxModel
doFillInitScriptItems
(String currentValue) static String
static String
static List<org.jenkinsci.lib.configprovider.model.Config>
static org.jenkinsci.lib.configprovider.model.ContentType
getRealContentType
(org.jenkinsci.lib.configprovider.ConfigProvider p) getUserDataHashes
(List<String> configIds) getUserDataHashesFromConfigs
(List<org.jenkinsci.lib.configprovider.model.Config> cfgs)
-
Method Details
-
getConfig
-
getRealContentType
public static org.jenkinsci.lib.configprovider.model.ContentType getRealContentType(@NonNull org.jenkinsci.lib.configprovider.ConfigProvider p) -
buildUserData
@CheckForNull public static byte[] buildUserData(@NonNull List<String> configIds, @Nullable Map<String, String> replacements, boolean gzip) throws IOException- Throws:
IOException
-
doFillFileItems
-
doFillInitScriptItems
-
getUserDataHashes
public static Map<String,String> getUserDataHashes(List<String> configIds) throws NoSuchAlgorithmException - Throws:
NoSuchAlgorithmException
-
getUserDataHashesFromConfigs
public static Map<String,String> getUserDataHashesFromConfigs(List<org.jenkinsci.lib.configprovider.model.Config> cfgs) throws NoSuchAlgorithmException - Throws:
NoSuchAlgorithmException
-
getJCloudsConfigs
-
exportXml
-