Class SVNInfoUnversioned

  • All Implemented Interfaces:
    ISVNInfo

    public class SVNInfoUnversioned
    extends java.lang.Object
    implements ISVNInfo
    A special ISVNInfo implementation that is used if a File/Folder is not versioned.
    Author:
    Cédric Chabanois (cchabanois at no-log.org)
    • Constructor Detail

      • SVNInfoUnversioned

        public SVNInfoUnversioned​(java.io.File file)
        Constructor
        Parameters:
        file -
    • Method Detail

      • getFile

        public java.io.File getFile()
        Description copied from interface: ISVNInfo
        file on which we get info
        Specified by:
        getFile in interface ISVNInfo
        Returns:
        file
      • getUrl

        public SVNUrl getUrl()
        Description copied from interface: ISVNInfo
        Retrieves the url of the item
        Specified by:
        getUrl in interface ISVNInfo
        Returns:
        url of the item
      • getUrlString

        public java.lang.String getUrlString()
        Description copied from interface: ISVNInfo
        Retrieves the url (string) of the item
        Specified by:
        getUrlString in interface ISVNInfo
        Returns:
        url of the item
      • getUuid

        public java.lang.String getUuid()
        Description copied from interface: ISVNInfo
        Retrieves the uuid of the repository
        Specified by:
        getUuid in interface ISVNInfo
        Returns:
        uuid of the repository
      • getRepository

        public SVNUrl getRepository()
        Description copied from interface: ISVNInfo
        Retrieves the url of the repository
        Specified by:
        getRepository in interface ISVNInfo
        Returns:
        url of the repository
      • getSchedule

        public SVNScheduleKind getSchedule()
        Description copied from interface: ISVNInfo
        Retrieves the schedule of the next commit
        Specified by:
        getSchedule in interface ISVNInfo
        Returns:
        schedule of the next commit
      • getLastCommitAuthor

        public java.lang.String getLastCommitAuthor()
        Description copied from interface: ISVNInfo
        Retrieves the author of the last commit
        Specified by:
        getLastCommitAuthor in interface ISVNInfo
        Returns:
        author of the last commit
      • getRevision

        public SVNRevision.Number getRevision()
        Description copied from interface: ISVNInfo
        Retrieves the last revision the item was updated to
        Specified by:
        getRevision in interface ISVNInfo
        Returns:
        last revision the item was updated to
      • getLastChangedDate

        public java.util.Date getLastChangedDate()
        Description copied from interface: ISVNInfo
        Retrieves the date of the last commit
        Specified by:
        getLastChangedDate in interface ISVNInfo
        Returns:
        the date of the last commit
      • getLastDateTextUpdate

        public java.util.Date getLastDateTextUpdate()
        Description copied from interface: ISVNInfo
        Retrieves the last date the text content was changed
        Specified by:
        getLastDateTextUpdate in interface ISVNInfo
        Returns:
        last date the text content was changed
      • getLastDatePropsUpdate

        public java.util.Date getLastDatePropsUpdate()
        Description copied from interface: ISVNInfo
        Retrieves the last date the properties were changed
        Specified by:
        getLastDatePropsUpdate in interface ISVNInfo
        Returns:
        last date the properties were changed
      • isCopied

        public boolean isCopied()
        Description copied from interface: ISVNInfo
        Retrieve if the item was copied
        Specified by:
        isCopied in interface ISVNInfo
        Returns:
        the item was copied
      • getCopyUrl

        public SVNUrl getCopyUrl()
        Description copied from interface: ISVNInfo
        Retrieves the copy source url
        Specified by:
        getCopyUrl in interface ISVNInfo
        Returns:
        copy source url
      • getLockCreationDate

        public java.util.Date getLockCreationDate()
        Description copied from interface: ISVNInfo
        Retrieves the lock creation date (may be null)
        Specified by:
        getLockCreationDate in interface ISVNInfo
        Returns:
        lock creation date
      • getLockOwner

        public java.lang.String getLockOwner()
        Description copied from interface: ISVNInfo
        Retrieves the lock owner (may be null)
        Specified by:
        getLockOwner in interface ISVNInfo
        Returns:
        lock owner
      • getLockComment

        public java.lang.String getLockComment()
        Description copied from interface: ISVNInfo
        Retrieves the lock comment (may be null)
        Specified by:
        getLockComment in interface ISVNInfo
        Returns:
        lock comment
      • getDepth

        public int getDepth()
        Description copied from interface: ISVNInfo
        Retrieves the depth of the item
        Specified by:
        getDepth in interface ISVNInfo
        Returns:
        depth