org.wso2.carbon.appfactory.jenkins.artifact.storage
Class Utils
java.lang.Object
org.wso2.carbon.appfactory.jenkins.artifact.storage.Utils
public class Utils
- extends Object
|
Constructor Summary |
Utils()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
getTagNamesOfPersistedArtifacts
public static void getTagNamesOfPersistedArtifacts(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
- Request should have the job-name that user wants to get the tag names of
This will send the list of tag names that user has asked to persist for the given job
- Parameters:
req - requestrsp - response
getParameterMapFromRequest
public static Map<String,String[]> getParameterMapFromRequest(org.kohsuke.stapler.StaplerRequest request)
- This is a method to get a parameter map from the stapelerRequest.
- Parameters:
request - the staplerReqeust. This is the request that is sent to jenkins
- Returns:
- Map that contains the servlet request parameters. Also the StaplerRequest.getRootPath() value is added in to this map
getEnvironmentVariable
public static String getEnvironmentVariable(String variableName)
Copyright © 2015 WSO2 Inc. All rights reserved.