org.codehaus.mojo.scmchangelog.changelog.log
Class Message

java.lang.Object
  extended by org.codehaus.mojo.scmchangelog.changelog.log.Message

public class Message
extends Object

Represents the comment message of a log entry from the subversion repository. It can be one message for several issues.

Version:
$Id: Message.java 7652 2008-09-11 07:58:40Z ehsavoie $
Author:
ehsavoie

Constructor Summary
Message(String cleanedComment, List foundIssues)
          Creates a new instance of Message
 
Method Summary
 String getComment()
          Return the comment cleaned of grammar elements, with the Grammar.issueSeparator between each issue comment.
 List getIssues()
          Return the issues extracted from the comment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message(String cleanedComment,
               List foundIssues)
Creates a new instance of Message

Parameters:
cleanedComment - : the original comment.
foundIssues - : the issues of this log entry.
Method Detail

getComment

public String getComment()
Return the comment cleaned of grammar elements, with the Grammar.issueSeparator between each issue comment.

Returns:
the comment cleaned of grammar elements, with the Grammar.issueSeparator between each issue comment.

getIssues

public List getIssues()
Return the issues extracted from the comment.

Returns:
a List of Issue.
See Also:
Issue


Copyright © 2008-2009 Codehaus. All Rights Reserved.