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;
 
 import java.util.Date;

Give information about one subversion item (file or directory) in the working copy
 
 public class Info
 {
    
the name of the item
 
     private String name;

    
the url of the item
 
     private String url;

    
the uuid of the repository
 
     private String uuid;

    
the repository url
 
     private String repository;

    
the schedule on the next commit (see NodeKind)
 
     private int schedule;

    
the kind of node (file or directory or unknown
 
     private int nodeKind;

    
the author of the last commit before base
 
     private String author;

    
the last revision this item was updated
 
     private long revision;

    
the last revision the item before base
 
     private long lastChangedRevision;

    
the date of the last commit
 
     private Date lastChangedDate;

    
the last up-to-date time for the text context
 
     private Date lastDateTextUpdate;

    
the last up-to-date time for the properties
 
     private Date lastDatePropsUpdate;

    
the item was copied
 
     private boolean copied;

    
the item was deleted
 
     private boolean deleted;

    
the item is absent
 
     private boolean absent;

    
the item is incomplete
 
     private boolean incomplete;

    
the copy source revision
 
     private long copyRev;

    
the copy source url
 
     private String copyUrl;

    
Constructor to be called only by the native code

Parameters:
name name of the item
url url of the item
uuid uuid of the repository
repository url of the repository
author author of the last change
revision revision of the last update
lastChangedRevision revision of the last change
lastChangedDate the date of the last change
lastDateTextUpdate the date of the last text change
lastDatePropsUpdate the date of the last property change
copied is the item copied
deleted is the item deleted
absent is the item absent
incomplete is the item incomplete
copyRev copy source revision
copyUrl copy source url
    Info(String nameString urlString uuidString repositoryint schedule,
         int nodeKindString authorlong revisionlong lastChangedRevision,
         Date lastChangedDateDate lastDateTextUpdate,
         Date lastDatePropsUpdateboolean copied,
         boolean deletedboolean absentboolean incompletelong copyRev,
         String copyUrl)
    {
        this. = name;
        this. = url;
        this. = uuid;
        this. = repository;
        this. = schedule;
        this. = nodeKind;
        this. = author;
        this. = revision;
        this. = lastChangedRevision;
        this. = lastChangedDate;
        this. = lastDateTextUpdate;
        this. = lastDatePropsUpdate;
        this. = copied;
        this. = deleted;
        this. = absent;
        this. = incomplete;
        this. = copyRev;
        this. = copyUrl;
    }

    
Retrieves the name of the item

Returns:
name of the item
    public String getName()
    {
        return ;
    }

    
Retrieves the url of the item

Returns:
url of the item
    public String getUrl()
    {
        return ;
    }

    
Retrieves the uuid of the repository

Returns:
uuid of the repository
    public String getUuid()
    {
        return ;
    }

    
Retrieves the url of the repository

Returns:
url of the repository
    public String getRepository()
    {
        return ;
    }

    
Retrieves the schedule of the next commit

Returns:
schedule of the next commit
    public int getSchedule()
    {
        return ;
    }

    
Retrieves the nodeKind

Returns:
nodeKind
    public int getNodeKind()
    {
        return ;
    }

    
Retrieves the author of the last commit

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

    
Retrieves the last revision the item was updated to

Returns:
last revision the item was updated to
    public long getRevision()
    {
        return ;
    }

    
Retrieves the revision of the last commit

Returns:
the revision of the last commit
    public long getLastChangedRevision()
    {
        return ;
    }

    
Retrieves the date of the last commit

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

    
Retrieves the last date the text content was changed

Returns:
last date the text content was changed
    public Date getLastDateTextUpdate()
    {
        return ;
    }

    
Retrieves the last date the properties were changed

Returns:
last date the properties were changed
    public Date getLastDatePropsUpdate()
    {
        return ;
    }

    
Retrieve if the item was copied

Returns:
the item was copied
    public boolean isCopied()
    {
        return ;
    }

    
Retrieve if the item was deleted

Returns:
the item was deleted
    public boolean isDeleted()
    {
        return ;
    }

    
Retrieve if the item is absent

Returns:
the item is absent
    public boolean isAbsent()
    {
        return ;
    }

    
Retrieve if the item is incomplete

Returns:
the item is incomplete
    public boolean isIncomplete()
    {
        return ;
    }

    
Retrieves the copy source revision

Returns:
copy source revision
    public long getCopyRev()
    {
        return ;
    }

    
Retrieves the copy source url

Returns:
copy source url
    public String getCopyUrl()
    {
        return ;
    }
New to GrepCode? Check out our FAQ X