org.apache.maven.plugin.changes
Class IssueAdapter

java.lang.Object
  extended by org.apache.maven.plugin.changes.IssueAdapter

public class IssueAdapter
extends Object

An adapter that can adapt data models from other issue management system to the data models used in the changes.xml file.

Since:
2.4
Version:
$Id: IssueAdapter.java 1517906 2013-08-27 18:25:03Z krosenvold $
Author:
Dennis Lundberg

Constructor Summary
IssueAdapter(IssueManagementSystem ims)
          Create a new adapter.
 
Method Summary
 Action createAction(Issue issue)
          Create an Action from an issue.
 List<Release> getReleases(List<Issue> issues)
          Adapt a List of Issues to a List of Releases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueAdapter

public IssueAdapter(IssueManagementSystem ims)
Create a new adapter.

Parameters:
ims - The issue management system that has the data that should be adapted
Method Detail

getReleases

public List<Release> getReleases(List<Issue> issues)
Adapt a List of Issues to a List of Releases.

Parameters:
issues - The issues
Returns:
A list of releases

createAction

public Action createAction(Issue issue)
Create an Action from an issue.

Parameters:
issue - The issue to extract the information from
Returns:
An Action


Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.