public class JiraHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getBaseUrl(String url) |
static Map<String,String> |
getJiraUrlAndProjectName(String issueManagementUrl)
Parse out the base URL for JIRA and the JIRA project name from the issue management URL.
|
static String |
getPidFromJira(Log log,
String issueManagementUrl,
HttpClient client)
Try to get a JIRA pid from the issue management URL.
|
static boolean |
validateNonProxyHosts(org.apache.maven.wagon.proxy.ProxyInfo proxy,
String targetHost)
Check if the specified host is in the list of non proxy hosts.
|
public static String getPidFromJira(Log log, String issueManagementUrl, HttpClient client)
log
- Used to tell the user what happenedissueManagementUrl
- The URL to the issue management systemclient
- The client used to connect to JIRApublic static boolean validateNonProxyHosts(org.apache.maven.wagon.proxy.ProxyInfo proxy, String targetHost)
proxy
- the proxy info object contains set of properties.targetHost
- the target hostnamepublic static Map<String,String> getJiraUrlAndProjectName(String issueManagementUrl)
issueManagementUrl
- The URL to the issue management systemMap
containing the URL and project nameCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.