|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.jira.JiraHelper
public class JiraHelper
A helper class with common JIRA related functionality.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 JIRA
public static boolean validateNonProxyHosts(org.apache.maven.wagon.proxy.ProxyInfo proxy, String targetHost)
proxy
- the proxy info object contains set of properties.targetHost
- the target hostname
public static Map<String,String> getJiraUrlAndProjectName(String issueManagementUrl)
issueManagementUrl
- The URL to the issue management system
Map
containing the URL and project namepublic static String getBaseUrl(String url)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |