Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions

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:
package org.tigris.subversion.javahl;
public class ChangePath
{
    
Constructor to be called from the native code

Parameters:
path path of the commit item
copySrcRevision copy source revision (if any)
copySrcPath copy source path (if any)
action action performed
    ChangePath(String pathlong copySrcRevisionString copySrcPathchar action)
    {
        this. = path;
        this. = copySrcRevision;
        this. = copySrcPath;
        this. = action;
    }

    
Path of commited item
    private String path;

    
Source revision of copy (if any).
    private long copySrcRevision;

    
Source path of copy (if any).
    private String copySrcPath;

    
'A'dd, 'D'elete, 'R'eplace, 'M'odify
    private char action;

    
Retrieve the path to the commited item

Returns:
the path to the commited item
    public String getPath()
    {
        return ;
    }

    
Retrieve the copy source revision (if any)

Returns:
the copy source revision (if any)
    public long getCopySrcRevision()
    {
        return ;
    }

    
Retrieve the copy source path (if any)

Returns:
the copy source path (if any)
    public String getCopySrcPath()
    {
        return ;
    }

    
Retrieve action performed

Returns:
action performed
    public char getAction()
    {
        return ;
    }
New to GrepCode? Check out our FAQ X