Class Info

java.lang.Object
org.tigris.subversion.javahl.Info
All Implemented Interfaces:
java.io.Serializable

public class Info extends java.lang.Object implements java.io.Serializable
Give information about one subversion item (file or directory) in the working copy
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
    the item is absent
    private java.lang.String
    the author of the last commit before base
    private boolean
    the item was copied
    private long
    the copy source revision
    private java.lang.String
    the copy source url
    private boolean
    the item was deleted
    private boolean
    the item is incomplete
    private java.util.Date
    the date of the last commit
    private long
    the last revision the item before base
    private java.util.Date
    the last up-to-date time for the properties
    private java.util.Date
    the last up-to-date time for the text context
    private java.lang.String
    the name of the item
    private int
    the kind of node (file or directory or unknown
    private java.lang.String
    the repository url
    private long
    the last revision this item was updated
    private int
    the schedule on the next commit (see NodeKind)
    private static final long
     
    private java.lang.String
    the url of the item
    private java.lang.String
    the uuid of the repository
  • Constructor Summary

    Constructors
    Constructor
    Description
    Info(java.lang.String name, java.lang.String url, java.lang.String uuid, java.lang.String repository, int schedule, int nodeKind, java.lang.String author, long revision, long lastChangedRevision, java.util.Date lastChangedDate, java.util.Date lastDateTextUpdate, java.util.Date lastDatePropsUpdate, boolean copied, boolean deleted, boolean absent, boolean incomplete, long copyRev, java.lang.String copyUrl)
    Constructor to be called only by the native code
    Info(Info aInfo)
    A backward-compat constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    private static boolean
    checkAbsent(java.lang.String path)
     
    private static boolean
    checkIncomplete(java.lang.String path)
    See if the path is incomplete.
    java.lang.String
    Retrieves the author of the last commit
    long
    Retrieves the copy source revision
    java.lang.String
    Retrieves the copy source url
    java.util.Date
    Retrieves the date of the last commit
    long
    Retrieves the revision of the last commit
    java.util.Date
    Retrieves the last date the properties were changed
    java.util.Date
    Retrieves the last date the text content was changed
    java.lang.String
    Retrieves the name of the item
    int
    Retrieves the nodeKind
    java.lang.String
    Retrieves the url of the repository
    long
    Retrieves the last revision the item was updated to
    int
    Retrieves the schedule of the next commit
    java.lang.String
    Retrieves the url of the item
    java.lang.String
    Retrieves the uuid of the repository
    boolean
    Retrieve if the item is absent
    boolean
    Retrieve if the item was copied
    boolean
    Retrieve if the item was deleted
    boolean
    Retrieve if the item is incomplete

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • name

      private java.lang.String name
      the name of the item
    • url

      private java.lang.String url
      the url of the item
    • uuid

      private java.lang.String uuid
      the uuid of the repository
    • repository

      private java.lang.String repository
      the repository url
    • schedule

      private int schedule
      the schedule on the next commit (see NodeKind)
    • nodeKind

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

      private java.lang.String author
      the author of the last commit before base
    • revision

      private long revision
      the last revision this item was updated
    • lastChangedRevision

      private long lastChangedRevision
      the last revision the item before base
    • lastChangedDate

      private java.util.Date lastChangedDate
      the date of the last commit
    • lastDateTextUpdate

      private java.util.Date lastDateTextUpdate
      the last up-to-date time for the text context
    • lastDatePropsUpdate

      private java.util.Date lastDatePropsUpdate
      the last up-to-date time for the properties
    • copied

      private boolean copied
      the item was copied
    • deleted

      private boolean deleted
      the item was deleted
    • absent

      private boolean absent
      the item is absent
    • incomplete

      private boolean incomplete
      the item is incomplete
    • copyRev

      private long copyRev
      the copy source revision
    • copyUrl

      private java.lang.String copyUrl
      the copy source url
  • Constructor Details

    • Info

      Info(java.lang.String name, java.lang.String url, java.lang.String uuid, java.lang.String repository, int schedule, int nodeKind, java.lang.String author, long revision, long lastChangedRevision, java.util.Date lastChangedDate, java.util.Date lastDateTextUpdate, java.util.Date lastDatePropsUpdate, boolean copied, boolean deleted, boolean absent, boolean incomplete, long copyRev, java.lang.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

      public Info(Info aInfo)
      A backward-compat constructor
  • Method Details

    • checkAbsent

      private static boolean checkAbsent(java.lang.String path)
    • checkIncomplete

      private static boolean checkIncomplete(java.lang.String path)
      See if the path is incomplete. We currently have no way of getting this information from the existing info struct, so just return false.
    • getName

      public java.lang.String getName()
      Retrieves the name of the item
      Returns:
      name of the item
    • getUrl

      public java.lang.String getUrl()
      Retrieves the url of the item
      Returns:
      url of the item
    • getUuid

      public java.lang.String getUuid()
      Retrieves the uuid of the repository
      Returns:
      uuid of the repository
    • getRepository

      public java.lang.String getRepository()
      Retrieves the url of the repository
      Returns:
      url of the repository
    • getSchedule

      public int getSchedule()
      Retrieves the schedule of the next commit
      Returns:
      schedule of the next commit
    • getNodeKind

      public int getNodeKind()
      Retrieves the nodeKind
      Returns:
      nodeKind
    • getAuthor

      public java.lang.String getAuthor()
      Retrieves the author of the last commit
      Returns:
      author of the last commit
    • getRevision

      public long getRevision()
      Retrieves the last revision the item was updated to
      Returns:
      last revision the item was updated to
    • getLastChangedRevision

      public long getLastChangedRevision()
      Retrieves the revision of the last commit
      Returns:
      the revision of the last commit
    • getLastChangedDate

      public java.util.Date getLastChangedDate()
      Retrieves the date of the last commit
      Returns:
      the date of the last commit
    • getLastDateTextUpdate

      public java.util.Date getLastDateTextUpdate()
      Retrieves the last date the text content was changed
      Returns:
      last date the text content was changed
    • getLastDatePropsUpdate

      public java.util.Date getLastDatePropsUpdate()
      Retrieves the last date the properties were changed
      Returns:
      last date the properties were changed
    • isCopied

      public boolean isCopied()
      Retrieve if the item was copied
      Returns:
      the item was copied
    • isDeleted

      public boolean isDeleted()
      Retrieve if the item was deleted
      Returns:
      the item was deleted
    • isAbsent

      public boolean isAbsent()
      Retrieve if the item is absent
      Returns:
      the item is absent
    • isIncomplete

      public boolean isIncomplete()
      Retrieve if the item is incomplete
      Returns:
      the item is incomplete
    • getCopyRev

      public long getCopyRev()
      Retrieves the copy source revision
      Returns:
      copy source revision
    • getCopyUrl

      public java.lang.String getCopyUrl()
      Retrieves the copy source url
      Returns:
      copy source url