org.apache.maven.plugins.patchtracker.tracking.jira
Class JiraPatchTracker
java.lang.Object
org.apache.maven.plugins.patchtracker.tracking.jira.JiraPatchTracker
- All Implemented Interfaces:
- PatchTracker
public class JiraPatchTracker
- extends Object
- implements PatchTracker
- Author:
- Olivier Lamy
- Plexus component:
- role:
- "org.apache.maven.plugins.patchtracker.tracking.PatchTracker"
- role-hint:
- "jira"
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraPatchTracker
public JiraPatchTracker()
createPatch
public PatchTrackerResult createPatch(PatchTrackerRequest patchTrackerRequest,
Log log)
throws PatchTrackerException
- Description copied from interface:
PatchTracker
- create a new entry in the patch tracker
- Specified by:
createPatch
in interface PatchTracker
- Returns:
-
- Throws:
PatchTrackerException
updatePatch
public PatchTrackerResult updatePatch(PatchTrackerRequest patchTrackerRequest,
Log log)
throws PatchTrackerException
- Description copied from interface:
PatchTracker
- update a patch entry in the patch tracker
patchTrackerRequest.patchId is mandatory!
- Specified by:
updatePatch
in interface PatchTracker
- Returns:
-
- Throws:
PatchTrackerException
createSession
public JiraSession createSession(PatchTrackerRequest patchTrackerRequest,
Log log)
throws PatchTrackerException
- Throws:
PatchTrackerException
extractProjectKey
protected String extractProjectKey(String url)
- Parameters:
url
- https://jira.codehaus.org/browse/MNG
- Returns:
- the project key MNG
extractBaseUrl
protected String extractBaseUrl(String url)
- Parameters:
url
- https://jira.codehaus.org/browse/MNG
- Returns:
- https://jira.codehaus.org
extractBaseUrlAsUrl
protected URL extractBaseUrlAsUrl(String url)
throws MalformedURLException
- Throws:
MalformedURLException
getComponentId
protected String getComponentId(String url,
String projectKey)
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.