Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.tigris.subversion.javahl;
  
  import java.util.Date;

Copyright:
==================================================================== Copyright (c) 2003-2004 CollabNet. All rights reserved. This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at http://subversion.tigris.org/license-1.html. If newer versions of this license are posted there, you may use a newer version instead, at your option. This software consists of voluntary contributions made by many individuals. For exact contribution history, see the revision history and logs, available at http://subversion.tigris.org/. ====================================================================
Endcopyright:
 
this class describes a single subversion revision with log message, author and date
 
 public class LogMessage
 {
    
the log message for the revision
 
     private String message;
    
the date of the commit
 
     private Date date;
    
the number of the revision
 
     private long revision;
    
the author of the commit
 
     private String author;

    
the items changed by this commit (only set when SVNClientInterface.logmessage is used with discoverPaths true.
 
     private ChangePath[] changedPaths;

    
this constructor is only called only from JNI code

Parameters:
m the log message text
d the date of the commit
r the number of the revision
a the author of the commit
cp the items changed by this commit
 
     LogMessage(String mDate dlong rString aChangePath[] cp)
     {
          = m;
          = d;
          = r;
          = a;
          = cp;
     }
    
Return the log message text

Returns:
the log message text
 
     public String getMessage()
     {
         return ;
     }

    
Returns the date of the commit

Returns:
the date of the commit
 
     public Date getDate()
     {
         return ;
     }

    
Returns the revision as a Revision object

Returns:
the revision number as a Revision object
 
     public Revision.Number getRevision()
     {
         return Revision.createNumber();
     }

    
Returns the revision as a long integer

Returns:
the revision number as a long integer
 
     public long getRevisionNumber()
     {
        return ;
    }

    
Returns the author of the commit

Returns:
the author of the commit
    public String getAuthor()
    {
        return ;
    }

    
Returns the changes items by this commit

Returns:
the changes items by this commit
    public ChangePath[] getChangedPaths()
    {
        return ;
    }
New to GrepCode? Check out our FAQ X